CVE-2025-22870

published 12 Mar 2025 · updated 16 Nov 2026

HTTP Proxy bypass using IPv6 Zone IDs in golang.org/x/net

4.4MediumCVSS 4.4EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 1.23.7, 1.24.1 and 0.36.0.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Go standard library<1.23.7, >=1.24.0-0 <1.24.11.23.7, 1.24.1
golang.org/x/net<0.36.00.36.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-22870 severity on Zeptric[![CVE-2025-22870](https://zeptric.io/badge/cve/CVE-2025-22870.svg)](https://zeptric.io/cve/CVE-2025-22870)