—
GO-2026-4866
Case-sensitive excludedSubtrees name constraints cause Auth Bypass in crypto/x509
Quick fix
GO-2026-4866 — stdlib: upgrade to the fixed version with the command below.
go get stdlib@v1.26.2 Details
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.
Are you affected?
Enter the version of the package you're using.