Vulnerability in Golang.org/x/net Golang.org/x/net/http/httpproxy
CVE-2025-22870
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.4 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L.
EPSS exploit prediction
EPSS 0.004, 37.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Golang.org/x/net Golang.org/x/net/http/httpproxy — versions 0
- Golang.org/x/net Golang.org/x/net/proxy — versions 0
- Go Standard Library Net/http — versions 0, 1.24.0-0
Weakness classification (CWE)
Public exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
- JoshuaProvoste/CVE-2025-22870 (2 stars, last pushed 2025-06-08): Proof-of-concept for CVE-2025-22870 demonstrating HTTP proxy bypass in vulnerable versions (<0.36.0) of golang.org/x/net/http/httpproxy. Exploits improper IPv6 zone ID parsing to evade NO_PROXY restr…
- B1ack4sh/Blackash-CVE-2025-22870
Also mentioned in 14 other repositories (297855/ctnm, 297855/nwctbf, 8-cm/kube-dump, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
This CVE has public exploit evidence. See the latest CVEs with public exploits.