# GO-2026-6941: Bypass of additionalProperties validation via nested object property names in github.com/qri-io/jsonschema

- Database: Go
- Published: 2026-11-23
- Modified: 2026-11-23

## Affected versions

- github.com/qri-io/jsonschema (Go): from 0.2.0

## 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.

## References

- https://github.com/golang/vulndb/issues/6941
- https://github.com/qri-io/jsonschema/pull/133

Page: https://cve.now/GO-2026-6941

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
