Home / Go standard library / net/http / CVE-2026-39821
CVE-2026-39821: is it exploited, and which versions of Go standard library net/http are affected and fixed?
CVE-2026-39821 is an improper Validation of Unsafe Equivalence in Input vulnerability in Go standard library net/http. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:39 UTC). Affected: net/http before 1.25.13, net/http from 1.26.0-0 before 1.26.6, net/http from 1.27.0-0 before 1.27.0-rc.3 and 4 more (CVE record by Go). Fixed in 1.25.13, 1.26.6, 1.27.0-rc.3 and 0.57.0 (CVE record by Go). Severity: Critical (9.6, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:39 UTC, CVE record November 23, 2026, 20:33 UTC and NVD November 23, 2026, 22:08 UTC.
What is CVE-2026-39821?
Invoking failure to reject ASCII-only Punycode-encoded labels in golang.org/x/net/idna
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".
From the CVE record by Go, last updated November 23, 2026, 20:28 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Go standard library | net/http | before 1.25.13 from 1.26.0-0 before 1.26.6 from 1.27.0-0 before 1.27.0-rc.3 | 1.25.13, 1.26.6, 1.27.0-rc.3 |
| Go standard library | net/http/internal/http2 | before 1.25.13 from 1.26.0-0 before 1.26.6 from 1.27.0-0 before 1.27.0-rc.3 | 1.25.13, 1.26.6, 1.27.0-rc.3 |
| golang.org/x/net | golang.org/x/net/idna | before 0.57.0 | 0.57.0 |
As the CVE record by Go states it, last updated November 23, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| golang | net | before 0.55.0 | application |
NVD analysis (status Modified), last modified November 23, 2026, 21:17 UTC.
How severe is CVE-2026-39821?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.6 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N | CISA-ADP |
| High 8.2 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N | redhat-SADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-39821 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, May 23, 2026)
- EPSS
- 1.87% probability of exploitation activity in the next 30 days, percentile 80.0 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-1289 Improper Validation of Unsafe Equivalence in Input
Where are the vendor advisories and references?
- https://go.dev/cl/767220
- https://go.dev/cl/796421
- https://go.dev/issue/78760
- https://groups.google.com/g/golang-announce/c/iI-mYSI0lu8
- https://groups.google.com/g/golang-announce/c/94pEornpRlI
- https://pkg.go.dev/vuln/GO-2026-5026
- https://access.redhat.com/security/cve/CVE-2026-39821 vdb-entry, x_refsource_REDHAT
- RHBZ#2480756 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-39821.json x_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:42079 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:42080 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:41019 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:66350 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:54191 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:42078 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:54757 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:54580 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:34789 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:42082 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:36796 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:57845 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:62549 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:65851 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:42150 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:42151 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:42240 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:67149 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:49702 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:67517 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:56143 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:59546 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:53413 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:63134 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:53374 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:51187 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:30855 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:46395 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:37436 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:35827 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:35826 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:65534 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:34357 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:66432 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:39005 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:39573 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:38995 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:30853 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:35830 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:35831 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:66016 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:41930 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:68504 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:67319 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:61253 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:67160 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:65359 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:61245 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:60354 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:57649 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:67159 vendor-advisory, x_refsource_REDHAT
Who found and reported it?
- KC1zs4 (https://github.com/KC1zs4) (finder)
- Longwei Wang (https://github.com/gn00295120) (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- April 7, 2026
- Published
- May 22, 2026, 15:01 UTC
- CVE record updated
- November 23, 2026, 20:28 UTC by Go
- NVD
- Modified, last modified November 23, 2026, 21:17 UTC
- Last checked
- CVE list November 23, 2026, 20:33 UTC; NVD November 23, 2026, 22:08 UTC; KEV December 3, 2026, 18:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect net/http?
- Nov 11, 2026CVE-2026-97054 Go standard library net/http: missing Synchronization
- Oct 8, 2026CVE-2026-97032 Go standard library net/http: race condition
- Oct 8, 2026CVE-2026-94439 Go standard library net/http: HTTP request smuggling
- Oct 8, 2026CVE-2026-78669 Go standard library net/http: asymmetric Resource Consumption (Amplification)
- Oct 8, 2026CVE-2026-78667 Go standard library net/http: denial of service (resources allocated without limits)
- Oct 8, 2026CVE-2026-78663 Go standard library net/http: multiple Operations on Resource in Single-Operation Context
- Oct 8, 2026CVE-2026-78660 Go standard library net/http: HTTP request smuggling
- Oct 8, 2026CVE-2026-78659 Go standard library net/http: asymmetric Resource Consumption (Amplification)
Questions about CVE-2026-39821
Is CVE-2026-39821 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:39 UTC. FIRST's EPSS gives it a 1.87% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Go standard library net/http are affected by CVE-2026-39821?
net/http before 1.25.13, net/http from 1.26.0-0 before 1.26.6, net/http from 1.27.0-0 before 1.27.0-rc.3, net/http/internal/http2 before 1.25.13, net/http/internal/http2 from 1.26.0-0 before 1.26.6, net/http/internal/http2 from 1.27.0-0 before 1.27.0-rc.3 and 1 more, per the CVE record by Go. The tables above give every range the sources list.
Which version fixes CVE-2026-39821?
1.25.13, 1.26.6, 1.27.0-rc.3 and 0.57.0, per the CVE record by Go. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-39821?
Critical (9.6, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2026-39821?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.