ADVISORIES

Go Vulnerability Database

GO-2026-6941

Bypass of additionalProperties validation via nested object property names in github.com/qri-io/jsonschema

No fix available

Details

In github.com/qri-io/jsonschema, Properties.ValidateKeyword, PatternProperties.ValidateKeyword, and AdditionalProperties.ValidateKeyword call currentState.UpdateEvaluatedPropsAndItems(subState) after validating nested object properties, merging the child object's evaluated property names into the parent object's validation state. Consequently, any property on the parent object that shares a name with a validated property in a nested child object is treated as already evaluated on the parent, bypassing additionalProperties and unevaluatedProperties validation on the parent object.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/qri-io/jsonschema
From 0.2.0, no fix listed

References