What’s Vulnerable › Vulnerabilities

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

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 products

How to fix

Upgrade to a fixed version: Golang.Org/X/Net 0.36.0; Go Stdlib 1.23.7, 1.24.1; golang.org/x/net/http/httpproxy 0.36.0; golang.org/x/net/proxy 0.36.0; Go standard library net/http 1.23.7, 1.24.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-22870 or the next vulnerability affects your stack