GO-2026-4866

Case-sensitive excludedSubtrees name constraints cause Auth Bypass in crypto/x509

At a glance

Published
Updated
CVE
CVE-2026-33810
Aliases
BIT-golang-2026-33810

Description

When verifying a certificate chain containing excluded DNS constraints, these constraints are not correctly applied to wildcard DNS SANs which use a different case than the constraint. This only affects validation of otherwise trusted certificate chains, issued by a root CA in the VerifyOptions.Roots CertPool, or in the system certificate pool.

Affected packages

PackageVersions
Go · stdlibintroduced 1.26.0-0, fixed 1.26.2

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database