4.4medium
HTTP Proxy bypass using IPv6 Zone IDs in golang.org/x/net
- Severity
- 4.4medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.43% (higher than 38% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Go
- Also known as
- GHSA-qxp5-gwg8-xv66GO-2025-3503
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| net/http | before 1.23.7, from 1.24.0-0 before 1.24.1 | CVE List |
| golang.org/x/net/http/httpproxy | before 0.36.0 | CVE List |
| golang.org/x/net/proxy | before 0.36.0 | CVE List |
| golang.org/x/net (Go) | before 0.36.0 | GitHub Advisory Database, Go Vulnerability Database |
| stdlib (Go) | before 1.23.7, from 1.24.0-0 before 1.24.1 | Go Vulnerability Database |
All scores
| CISA-ADP | 4.4medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L |
| GitHub | 4.4medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L |
Classification
What each source says
CVE List
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.
NVD (es)
La coincidencia de hosts con patrones de proxy puede tratar incorrectamente un ID de zona IPv6 como un componente de nombre de host. Por ejemplo, si la variable de entorno NO_PROXY se establece en "*.example.com", una solicitud a "[::1%25.example.com]:80` coincidirá incorrectamente y no se procesará mediante proxy.
References
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-22870 changed 2026-04-16 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-qxp5-gwg8-xv66 changed 2026-09-10 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2025-3503 changed 2026-04-16 | CC-BY-4.0 |
| NVD | CVE-2025-22870 changed 2026-06-17 | Public domain |