CVE-2026-39821
CVE
Critical
· CVSS 10
Medium Impactx/net/idna: Punycode-Encoded Labels Bypass Hostname Security Checks
Exploitable under specific conditions
This vulnerability can affect KrakenD under specific conditions. Review the affected versions below and upgrade if your deployment is exposed.
golang.org/x/net/idna for hostname normalization when routing requests
to backends. A crafted Punycode-encoded hostname in a request could bypass
hostname-based access controls or routing rules. Deployments that enforce host-based
routing or allow dynamic upstream URL components from external sources are most exposed.Component
golang.org/x/net (idna)
Disclosed
May 26, 2026
CVSS Score
10
Description
golang.org/x/net/idna package incorrectly accepts Punycode-encoded labels
that decode to ASCII-only strings, violating UTS 46 revision 33. For example,
xn--example-.com is accepted and normalized to example.com instead of being
rejected. An attacker can supply a Punycode-encoded form of a blocked hostname to
bypass hostname-based security checks and gain access to resources that should be
restricted.Version summary
Community Edition
2.13.6
addresses this advisory
Affected CE versions
>= 2.0, < 2.13.6
Enterprise Edition
2.13.4
addresses this advisory
Affected EE versions
>= 2.0, < 2.13.4
Upgrade to the addressed version or later to remediate this vulnerability.