NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🐹
🐹 Go
Not in CISA KEV
MEDIUM severity

CVE-2025-22870 — x/net

MEDIUM

CVE-2025-22870 is a medium-severity (CVSS 4.4) CWE-115 vulnerability in golang.org/x/net. A fix is available for golang.org/x/net — see the affected versions and patch details below.

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

Also known asGHSA-qxp5-gwg8-xv66GO-2025-3503
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
None indexed
Exploitation data as of Nov 12, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for CVE-2025-22870.

EPSS Exploitation Probability

via FIRST.org ↗
0.4%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs37th percentile — riskier than 37% of all scored CVEsHighest risk
0.00%0.31%0.62%0.93%0.0%0.4%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

1 pkg affected
🐹golang.org/x/net

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.

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 Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
🐹Gogolang.org/x/netall versions0.36.0go get golang.org/x/net@v0.36.0

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for golang.org/x/net, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update golang.org/x/net to 0.36.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2025-22870 is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatModerate
Workaround published by Red Hat
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
Source: Red Hat security advisory for CVE-2025-22870 (CC BY 4.0)
ProductFixed inAdvisory
RHODF-4.18-RHEL-9odf4/cephcsi-operator-bundle:v4.18.3-4RHSA-2025:7616
Cluster Observability Operator 1.5cluster-observability-operator/distributed-tracing-console-plugin-pf4-rhel9:1782840519RHSA-2026:34342
Red Hat Developer Hub 1.7rhdh/rhdh-rhel9-operator:1.7.0-1754935808RHSA-2025:14090
Red Hat Openshift Data Foundation 4.20odf4/cephcsi-rhel9:1774540992RHSA-2026:6503
Red Hat Openshift Data Foundation 4.22odf4/cephcsi-rhel9:1782932114RHSA-2026:37387
UbuntuMEDIUM

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is CVE-2025-22870 in your dependencies?

Find it across Go, including transitive dependencies.

CVE-2025-22870: x/net — Fixed in 0.36.0