Home / Go standard library / net/http / CVE-2025-22870
CVE-2025-22870: is it exploited, and which versions of Go standard library net/http are affected and fixed?
CVE-2025-22870 is a misinterpretation of 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, 16:09 UTC). Affected: golang.org/x/net before 0.36.0 (GitHub advisory GHSA-qxp5-gwg8-xv66). Fixed in 0.36.0 (GitHub advisory GHSA-qxp5-gwg8-xv66). Severity: Medium (4.4, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:09 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:22 UTC.
What is CVE-2025-22870?
HTTP Proxy bypass using IPv6 Zone IDs in golang.org/x/net
Matching of hosts against proxy patterns can improperly treat an IPv6 zone ID as a hostname component. For example, when the NO_PROXY environment variable is set to "*.example.com", a request to "[::1%25.example.com]:80` will incorrectly match and not be proxied.
From the CVE record by Go, last updated April 16, 2026, 22:39 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Go standard library | net/http | before 1.23.7 from 1.24.0-0 before 1.24.1 | 1.23.7, 1.24.1 |
| golang.org/x/net | golang.org/x/net/http/httpproxy | before 0.36.0 | 0.36.0 |
| golang.org/x/net | golang.org/x/net/proxy | before 0.36.0 | 0.36.0 |
As the CVE record by Go states it, last updated April 16, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | golang.org/x/net | < 0.36.0 | 0.36.0 | GHSA-qxp5-gwg8-xv66 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated April 24, 2026. Summary: HTTP Proxy bypass using IPv6 Zone IDs in golang.org/x/net.
How severe is CVE-2025-22870?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.4 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L | CISA-ADP |
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-2025-22870 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, March 18, 2025)
- EPSS
- 0.43% probability of exploitation activity in the next 30 days, percentile 38.8 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://go.dev/cl/654697
- https://go.dev/issue/71984
- https://groups.google.com/g/golang-announce/c/4t3lzH3I0eI/m/b42ImqrBAQAJ
- https://pkg.go.dev/vuln/GO-2025-3503
- http://www.openwall.com/lists/oss-security/2025/03/07/2
- https://security.netapp.com/advisory/ntap-20250509-0007/
Who found and reported it?
- Juho Forsén of Mattermost (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- January 8, 2025
- Published
- March 12, 2025, 18:27 UTC
- CVE record updated
- April 16, 2026, 22:39 UTC by Go
- NVD
- Deferred, last modified June 17, 2026, 08:50 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:22 UTC; KEV December 3, 2026, 16:09 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-2025-22870
Is CVE-2025-22870 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:09 UTC. FIRST's EPSS gives it a 0.43% 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-2025-22870?
golang.org/x/net before 0.36.0, per the GitHub advisory GHSA-qxp5-gwg8-xv66. The tables above give every range the sources list.
Which version fixes CVE-2025-22870?
0.36.0, per the GitHub advisory GHSA-qxp5-gwg8-xv66. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-22870?
Medium (4.4, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2025-22870?
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.