Skip to content

golang.org/x/net/http/httpproxy

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

CVE-2025-22870Published 12 Mar 2025, 18:27 UTC

Real-world risk

1.4/ 10Low

Routine

PreliminaryFrom the CVSS vector only · confidence low

CVSS

4.4

scored by CISA, CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from Go)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
golang.org/x/net/http/httpproxyNiche< 0.36.00.36.0
golang.org/x/net/proxyNiche< 0.36.00.36.0
net/httpNiche< 1.23.7; >= 1.24.0-0, < 1.24.11.23.7, 1.24.1

What to do

Update to a fixed version: 0.36.0, 1.23.7, 1.24.1.

Why this score

FactorValueEvidence×
ImpactMinorReflected XSS, CSRF with low effect, open redirect, minor leakFrom the CVSS vector0.30
Attacker positionLocalMust already run code or have a shell on the machineFrom the CVSS vector0.50
Privileges neededLowA real low-privileged accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T3: Public proof of concept (× 0.95)

A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit

  • Public proof of concept on GitHub

EPSS 0.4% chance of exploitation in 30 days (percentile 39), as of 2026-12-05.

The arithmetic
  1. Prerequisites multiplied together0.500
  2. Threat T3: Public proof of concept0.950
  3. 10 × impact 0.3 × prerequisites 0.5 × threat 0.951.425
  4. Rounded to one decimal between 0.1 and 101.4

How the score works

Exploitation and evidence timeline

  1. 12 Mar 2025 Published
  2. 3 Dec 2026 Public proof of concept on GitHub first seen
  3. 3 Dec 2026 Risk 1.4 (cvss fallback)

Weakness

CWE-115

References

Get alerts for golang.org/x/net/http/httpproxy

Free email or text alerts when a vulnerability in golang.org/x/net/http/httpproxy reaches risk 8 or higher. Nothing else.