Go crypto/x509 Flaw Lets Wildcard Certificates Bypass Excluded DNS Constraints
Vulnerability Disclosure · 5 sources · Updated 5mo ago · First seen Apr 28, 2026

Go disclosed CVE-2026-33810, a certificate validation flaw in crypto/x509 in Go 1.26 that can cause excluded DNS name constraints to be enforced incorrectly for wildcard Subject Alternative Names. The bug appears when a wildcard SAN such as *.example.com is evaluated against an excluded constraint written with different letter casing, such as EXAMPLE.COM, allowing the wildcard domain to bypass the exclusion during certificate chain verification.
The issue affects otherwise trusted certificate chains anchored in VerifyOptions.Roots or the system certificate pool, narrowing exposure to chains that already terminate at a trusted root CA. Go tracked the bug as issue #78332, credited the report to Riyas from Saintgits College of Engineering, k1rnt, and @1seal, and later published a fix on the release-branch.go1.26; downstream vendors including SUSE also opened advisories for the vulnerability.


