This behavior can lead to privilege escalation in programs using the idna package.
- CVSS
- 9.6Critical
- Chance of exploitation (EPSS)
- 1.8%
- Published
- May 22, 2026
- In the news
- Not yet
What to do
A critical security flaw in Golang Net that can be attacked over the network by someone with an account. No attacks are reported yet, but patch it soon.
Action: Apply the vendor's update or follow its advisory.
Fixed in: 0.55.0, 1.25.13, 1.26.6, 1.27.0-rc.3
Affected versions
- Go Standard Library Net HTTP
- Before 1.25.13; 1.26.0-0 to before 1.26.6; 1.27.0-0 to before 1.27.0-rc.3
- Go Standard Library Net HTTP Internal Http2
- Before 1.25.13; 1.26.0-0 to before 1.26.6; 1.27.0-0 to before 1.27.0-rc.3
- Golang Net
- Before 0.55.0
- Golang.org X Net Idna
- Before 0.55.0
Description
The ToASCII and ToUnicode functions incorrectly accept Punycode-encoded labels that decode to an ASCII-only label. For example, ToUnicode("xn--example-.com") incorrectly returns the name "example.com" rather than an error. This behavior can lead to privilege escalation in programs using the idna package. For example, a program which performs privilege checks on the ASCII hostname may reject "example.com" but permit "xn--example-.com". If that program subsequently converts the ASCII hostname to Unicode, it will inadvertently permits access to the Unicode name "example.com".
Affected products
Get alerts for these →Timeline 21
Latest change: Nessus plugin 379033: RHEL 7 : rhc (RHSA-2026:98794) (Nov 10, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Wed, Nov 11, 2026
- DetectionNessus plugin 379033: RHEL 7 : rhc (RHSA-2026:98794)Tenable
- DetectionNessus plugin 378744: RHEL 10 : golang-github-openprinting-ipp-usb (RHSA-2026:98108)Tenable
- DetectionNessus plugin 378747: RHCOS 4 : OpenShift Container Platform 4.13.73 (RHSA-2026:95744)Tenable
- DetectionNessus plugin 378998: RHCOS 4 : OpenShift Container Platform 4.15.71 (RHSA-2026:95754)Tenable
Tue, Nov 10, 2026
- DetectionNessus plugin 378210: RHEL 10 : go-fdo-client (RHSA-2026:97386)Tenable
Mon, Nov 9, 2026
Fri, Nov 6, 2026
- DetectionNessus plugin 376941: RHEL 8 : git-lfs (RHSA-2026:95234)Tenable
Thu, Nov 5, 2026
Fri, Oct 30, 2026
- DetectionNessus plugin 373956: RHEL 8 : rhc (RHSA-2026:92217)Tenable
Thu, Oct 29, 2026
- DetectionNessus plugin 373517: RHEL 8 : rhc (RHSA-2026:90726)Tenable
- DetectionNessus plugin 373531: RHCOS 4 : OpenShift Container Platform 4.14.77 (RHSA-2026:89837)Tenable
- DetectionNessus plugin 373562: RHEL 8 : go-toolset:rhel8 (RHSA-2026:90994)Tenable
- DetectionNessus plugin 373568: RHEL 8 : rhc (RHSA-2026:90725)Tenable
Mon, Oct 26, 2026
- DetectionNessus plugin 370897: RHEL 8 : grafana (RHSA-2026:88339)Tenable
- DetectionNessus plugin 370898: RHEL 8 : grafana-pcp (RHSA-2026:88395)Tenable
- DetectionNessus plugin 370921: RHEL 8 : grafana (RHSA-2026:88340)Tenable
- DetectionNessus plugin 370930: RHEL 8 : grafana-pcp (RHSA-2026:88394)Tenable
- DetectionNessus plugin 372143: RHEL 9 : Red Hat OpenStack Platform 17.1 security advisory (Important) (RHSA-2026:90329)Tenable
Sun, Oct 25, 2026
Fri, May 22, 2026
- CVECVE-2026-39821 published (CVSS 9.6)CVE Program · 16:16 UTC
References 40
- pkg.go.dev Vendor Advisory /vuln/GO-2026-5026
- go.dev /cl/767220
- go.dev /cl/796421
- go.dev /issue/78760
- groups.google.com /g/golang-announce/c/94pEornpRlI
- groups.google.com /g/golang-announce/c/iI-mYSI0lu8
- access.redhat.com /errata/RHSA-2026:23262
- access.redhat.com /errata/RHSA-2026:23264
- access.redhat.com /errata/RHSA-2026:26546
- access.redhat.com /errata/RHSA-2026:26547
- access.redhat.com /errata/RHSA-2026:30650
- access.redhat.com /errata/RHSA-2026:30651
- access.redhat.com /errata/RHSA-2026:30853
- access.redhat.com /errata/RHSA-2026:30854
- access.redhat.com /errata/RHSA-2026:30855
- access.redhat.com /errata/RHSA-2026:33155
- access.redhat.com /errata/RHSA-2026:33160
- access.redhat.com /errata/RHSA-2026:33163
- access.redhat.com /errata/RHSA-2026:33173
- access.redhat.com /errata/RHSA-2026:33183
- access.redhat.com /errata/RHSA-2026:33524
- access.redhat.com /errata/RHSA-2026:33531
- access.redhat.com /errata/RHSA-2026:34342
- access.redhat.com /errata/RHSA-2026:34357
- access.redhat.com /errata/RHSA-2026:34359