GO-2026-6941: Bypass of additionalProperties validation via nested object property names in github.com/qri-io/jsonschema
Published 2026-11-23 · Updated 2026-11-23
Summary
A flaw in the github.com/qri-io/jsonschema library allows attackers to bypass additionalProperties validation by matching property names in nested objects. Engineering teams using this library for strict JSON input validation should evaluate their schemas for potential injection risks.
Who is affected
This vulnerability affects Go applications utilizing the qri-io/jsonschema library from version 0.2.0 onwards. It occurs when a property on a parent object shares the same name as a validated property within a nested child object, causing the parent property to be incorrectly marked as already evaluated.
Exploitability
Exploitability metrics are currently unavailable as no CVSS vector or EPSS score has been provided. There is currently no evidence of active exploitation according to the CISA Known Exploited Vulnerabilities catalog.
Remediation
- No fixed version is currently documented in the vulnerability record.
- Monitor the github.com/qri-io/jsonschema repository for patches or updates addressing GO-2026-6941.
How to check your project
- Check go.mod files for the dependency github.com/qri-io/jsonschema version 0.2.0 or later.
- Scan project dependencies using Go vulnerability management tools like govulncheck.
Automated analysis of the published advisory data, generated 2026-11-23. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| Go | github.com/qri-io/jsonschema |
>= 0.2.0 (no fix published) | not published | - |
FAQ
What specific validation keywords are affected by this bypass?
The flaw specifically bypasses validation for additionalProperties and unevaluatedProperties keywords.
How does the logic error occur?
The library merges a child object's evaluated property names into the parent object's validation state, causing the parent to treat its own properties as already validated if the names overlap.
Is there a known workaround?
No specific workaround is documented; users should ensure property names do not overlap between parent and child objects if relying on additionalProperties validation.
Original advisory description
References
- REPORT https://github.com/golang/vulndb/issues/6941
- WEB https://github.com/qri-io/jsonschema/pull/133
Source records: GO-2026-6941 (OSV.dev).