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

Summary

CVECVE-2025-22870
StatePUBLISHED
AssignerGo
Source PriorityCVE Program / NVD first with legacy fallback
Published2025-03-12 19:15:38 UTC
Updated2026-04-16 23:16:32 UTC
DescriptionMatching 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.

Risk And Classification

Primary CVSS: v3.1 4.4 MEDIUM from ADP

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L

EPSS: 0.000310000 probability, percentile 0.086440000 (date 2026-04-16)

Problem Types: CWE-115 | CWE-115 Misinterpretation of Input | CWE-115 CWE-115 Misinterpretation of Input


VersionSourceTypeScoreSeverityVector
3.1ADPDECLARED4.4MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L
3.1134c704f-9b21-4f2e-91b3-4a467353bcc0Secondary4.4MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
Low

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Go Standard Library Net/http affected 1.23.7 semver Not specified
CNA Go Standard Library Net/http affected 1.24.0-0 1.24.1 semver Not specified
CNA Golang.orgxnet Golang.org/x/net/http/httpproxy affected 0.36.0 semver Not specified
CNA Golang.orgxnet Golang.org/x/net/proxy affected 0.36.0 semver Not specified

References

ReferenceSourceLinkTags
groups.google.com/g/golang-announce/c/4t3lzH3I0eI/m/b42ImqrBAQAJ [email protected] groups.google.com
security.netapp.com/advisory/ntap-20250509-0007 af854a3a-2127-422b-91ae-364da2661108 security.netapp.com
www.openwall.com/lists/oss-security/2025/03/07/2 af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
go.dev/cl/654697 [email protected] go.dev
go.dev/issue/71984 [email protected] go.dev
pkg.go.dev/vuln/GO-2025-3503 [email protected] pkg.go.dev
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Juho Forsén of Mattermost (en)

© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report