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 restrictions, enabling proxy bypass and potential SSRF under misconfigured environments.
Exploit database
Vulnerability
CVE-2025-22870
HTTP Proxy bypass using IPv6 Zone IDs in golang.org/x/net
Vulnerability details
- Score
- 4.4
- Severity
- medium
CVSS 3.1 · CISA-ADP
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:LDescription
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.
CVE ProgramExploit source choices
5 sourcesjoshuaprovoste/cve-2025-22870
2025-06-082 files · 2 stars
297855/nwctbf
297855/nwctbf source repository
2025-05-05184 files · 1 stars
297855/ctnm
297855/ctnm source repository
2025-05-05184 files · 0 stars
8-cm/kube-dump
A powerful Kubernetes debugging tool that enables network capture, command execution, and file operations across multiple pods and nodes simultaneously through privileged debug pods.
2025-09-1124 files · 0 stars
carabiner-dev/lab-vexable-repo
A learning lab to enable VEX lifecycles on repositories
2025-03-2915 files · 0 stars