{"id":"GO-2026-6941","summary":"Bypass of additionalProperties validation via nested object property names in github.com/qri-io/jsonschema","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.","modified":"2026-11-23T20:30:12.036749929Z","published":"2026-11-23T20:04:00Z","database_specific":{"url":"https://pkg.go.dev/vuln/GO-2026-6941","review_status":"REVIEWED"},"references":[{"type":"REPORT","url":"https://github.com/golang/vulndb/issues/6941"},{"type":"WEB","url":"https://github.com/qri-io/jsonschema/pull/133"}],"affected":[{"package":{"name":"github.com/qri-io/jsonschema","ecosystem":"Go","purl":"pkg:golang/github.com/qri-io/jsonschema"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.2.0"}]}],"ecosystem_specific":{"imports":[{"path":"github.com/qri-io/jsonschema","symbols":["AdditionalItems.ValidateKeyword","AdditionalProperties.ValidateKeyword","AllOf.ValidateKeyword","AnyOf.ValidateKeyword","Contains.ValidateKeyword","DependentSchemas.ValidateKeyword","Else.ValidateKeyword","If.ValidateKeyword","Items.ValidateKeyword","Not.ValidateKeyword","OneOf.ValidateKeyword","PatternProperties.ValidateKeyword","Properties.ValidateKeyword","PropertyNames.ValidateKeyword","RecursiveRef.ValidateKeyword","Ref.ValidateKeyword","Schema.Validate","Schema.ValidateBytes","Schema.ValidateKeyword","SchemaDependency.ValidateKeyword","Then.ValidateKeyword","UnevaluatedItems.ValidateKeyword","UnevaluatedProperties.ValidateKeyword"]}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2026-6941.json"}}],"schema_version":"1.9.2","credits":[{"name":"Jalmari Ikävalko (tzaeru)"}]}