Skip to main content
← All vulnerabilities
CVE-2025-22870GHSA-QXP5-GWG8-XV66GO-2025-3503

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.23.7, 1.24.1, 0.36.0
1 proof of concept on GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • net/http

    fixed in 1.23.7; From 1.24.0-0 · fixed in 1.24.1

  • golang.org/x/net/http/httpproxy

    fixed in 0.36.0

  • golang.org/x/net/proxy

    fixed in 0.36.0

  • golang.org/x/netGo

    fixed in 0.36.0

  • stdlibGo

    fixed in 1.23.7; From 1.24.0-0 · fixed in 1.24.1

References 5

go.dev

groups.google.com

pkg.go.dev

GitHub · JoshuaProvoste/CVE-2025-22870