SEVERITY NOT PROVIDED

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

How to check your project

Automated analysis of the published advisory data, generated 2026-11-23. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade
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
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

Source records: GO-2026-6941 (OSV.dev).