GO-2026-6941
Not scored
Bypass of additionalProperties validation via nested object property names in github.com/qri-io/jsonschema
- Severity
- Not scored
- Published
- Last changed
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
| Product or package | Versions | Reported by |
|---|---|---|
| github.com/qri-io/jsonschema (Go) | from 0.2.0 | Go Vulnerability Database |
References
Sources
| Source | Record | Licence |
|---|---|---|
| Go Vulnerability Database | GO-2026-6941 changed 2026-11-23 | CC-BY-4.0 |