golang.org/x/net/http/httpproxy
HTTP Proxy bypass using IPv6 Zone IDs in golang.org/x/net
CVE-2025-22870Published 12 Mar 2025, 18:27 UTC
Real-world risk
1.4/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
4.4
scored by CISA, CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from Go)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| golang.org/x/net/http/httpproxyNiche | < 0.36.0 | 0.36.0 |
| golang.org/x/net/proxyNiche | < 0.36.0 | 0.36.0 |
| net/httpNiche | < 1.23.7; >= 1.24.0-0, < 1.24.1 | 1.23.7, 1.24.1 |
What to do
Update to a fixed version: 0.36.0, 1.23.7, 1.24.1.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | MinorReflected XSS, CSRF with low effect, open redirect, minor leak | From the CVSS vector | 0.30 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T3: Public proof of concept (× 0.95)
A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit
- Public proof of concept on GitHub
EPSS 0.4% chance of exploitation in 30 days (percentile 39), as of 2026-12-05.
The arithmetic
- Prerequisites multiplied together0.500
- Threat T3: Public proof of concept0.950
- 10 × impact 0.3 × prerequisites 0.5 × threat 0.951.425
- Rounded to one decimal between 0.1 and 101.4
Exploitation and evidence timeline
- 12 Mar 2025 Published
- 3 Dec 2026 Public proof of concept on GitHub first seen
- 3 Dec 2026 Risk 1.4 (cvss fallback)
Weakness
CWE-115