GO-2026-6941

Source
https://pkg.go.dev/vuln/GO-2026-6941
Import Source
https://vuln.go.dev/ID/GO-2026-6941.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2026-6941
Downstream
Published
2026-11-23T20:04:00Z
Modified
2026-11-23T20:30:12Z
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.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2026-6941"
}
References
Credits
    • Jalmari Ikävalko (tzaeru)

Affected packages

Go / github.com/qri-io/jsonschema

Package

Name
github.com/qri-io/jsonschema
View open source insights on deps.dev
Purl
pkg:golang/github.com/qri-io/jsonschema

Affected 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"