# CVE-2025-22870: HTTP Proxy bypass using IPv6 Zone IDs in golang.org/x/net

- Severity: Medium 4.4 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 38% of CVEs (2026-12-01)
- Published: 2025-03-12T18:17:07.000Z
- Modified: 2026-09-10T03:50:23.280Z
- Also known as: GHSA-qxp5-gwg8-xv66, GO-2025-3503
- Related: CGA-cfr8-97rg-xjpc
- Weaknesses: CWE-20, CWE-115
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Go

## 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.

(As written by CVE List.)

## Affected

- net/http: before 1.23.7; from 1.24.0-0 before 1.24.1
- golang.org/x/net/http/httpproxy: before 0.36.0
- golang.org/x/net/proxy: before 0.36.0
- golang.org/x/net (Go): before 0.36.0
- stdlib (Go): before 1.23.7; from 1.24.0-0 before 1.24.1

## Every score

- CISA-ADP: CVSS:3.1 4.4 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L`
- GitHub: CVSS:3.1 4.4 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L`

## References

- <https://go.dev/cl/654697> (fix, web)
- <https://go.dev/issue/71984> (report, web)
- <https://groups.google.com/g/golang-announce/c/4t3lzH3I0eI/m/b42ImqrBAQAJ> (web)
- <https://pkg.go.dev/vuln/GO-2025-3503> (web)
- <http://www.openwall.com/lists/oss-security/2025/03/07/2> (web)
- <https://security.netapp.com/advisory/ntap-20250509-0007/>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-22870> (advisory)
- <https://go-review.googlesource.com/q/project:net> (package)
- <https://security.netapp.com/advisory/ntap-20250509-0007> (web)

## Sources

- CVE List: [CVE-2025-22870](https://www.cve.org/CVERecord?id=CVE-2025-22870), CVE Terms of Use, modified 2026-04-16
- GitHub Advisory Database: [GHSA-qxp5-gwg8-xv66](https://github.com/advisories/GHSA-qxp5-gwg8-xv66), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2025-3503](https://pkg.go.dev/vuln/GO-2025-3503), CC-BY-4.0, modified 2026-04-16
- NVD: [CVE-2025-22870](https://nvd.nist.gov/vuln/detail/CVE-2025-22870), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-22870 · Whole record: https://cve.day/CVE-2025-22870.json · Rebuilt by cve.day 2026-11-25T22:58:55.227Z
