CVE-2025-61727
CVE
Medium
· CVSS 5.3
Medium Impactcrypto/x509: Subdomain Exclusion Constraint Does Not Restrict Wildcard SANs
Exploitable under specific conditions
This vulnerability can affect KrakenD under specific conditions. Review the affected versions below and upgrade if your deployment is exposed.
Component
Go standard library (crypto/x509)
Disclosed
Dec 4, 2025
CVSS Score
5.3
Description
crypto/x509 certificate chain validator does not enforce excluded-subdomain
constraints against wildcard Subject Alternative Names (SANs) in leaf certificates.
A constraint excluding test.example.com does not prevent a leaf certificate from
claiming the SAN *.example.com, allowing a certificate that should be restricted
to be accepted as valid for subdomains it was explicitly excluded from.Version summary
Community Edition
2.12.1
addresses this advisory
Affected CE versions
>= 2.0, < 2.12.1
Enterprise Edition
2.12.2
addresses this advisory
Affected EE versions
>= 2.0, < 2.12.2
Upgrade to the addressed version or later to remediate this vulnerability.