{"id":"GO-2026-6941","aliases":["GO-2026-6941"],"related":[],"kind":"vulnerability","state":"published","title":"Bypass of additionalProperties validation via nested object property names in github.com/qri-io/jsonschema","summary":"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.","summaryFormat":"markdown","summarySource":"go","descriptions":[{"lang":"en","text":"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.","format":"markdown","source":"go"}],"published":"2026-11-23T20:04:00.000Z","modified":"2026-11-23T20:30:12.036Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0.2.0","status":"affected"}],"ecosystem":"Go","package":"github.com/qri-io/jsonschema","purl":"pkg:golang/github.com/qri-io/jsonschema","source":"go"}],"references":[{"url":"https://github.com/golang/vulndb/issues/6941","tags":["report"],"sources":["go"]},{"url":"https://github.com/qri-io/jsonschema/pull/133","tags":["web"],"sources":["go"]}],"credits":["Jalmari Ikävalko (tzaeru)"],"sources":[{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-6941","url":"https://pkg.go.dev/vuln/GO-2026-6941","licence":"CC-BY-4.0","modified":"2026-11-23T20:30:12.036Z"}],"updatedAt":"2026-11-25T22:56:25.598Z"}