Skip to content
OpenAdvisories
Unscored GO-2026-6941

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

Published Nov 23, 2026 · Updated Nov 23, 2026 · Assigned by GO

Description

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

EcosystemPackageAffectedFixedRecord
Go github.com/qri-io/jsonschema >= 0.2.0 — GO-2026-6941

References