CVE-2026-6734
undici vulnerable to cross-origin request routing via SOCKS5 proxy pool reuse
Also known as GHSA-hm92-r4w5-c3mj
Mitigation
- Upgrade undici to one of 7.28.0, 8.2.0 (or later in the same release line).
Who should check
- Projects that depend on npm package undici (>= 7.23.0, < 7.28.0)
- Anyone running undici >= 7.23.0, < 7.26.0; >= 8.0.0, < 8.2.0
Vulnerability facts
- Affected
- undici >= 7.23.0, < 7.28.0
- Fixed in
- 7.28.0, 8.2.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.39% chance of exploitation in 30 days (percentile 24, 2026-11-26)
- CWE
- CWE-346
- Modified
Description
Impact: When using Socks5ProxyAgent, undici reuses a single connection pool across different origins without verifying that the pool's origin matches the requested origin. All requests are dispatched through the pool connected to the first origin, regardless of the intended destination. This causes cross-origin request routing: credentials and request data intended for origin B are sent to origin A, responses from the wrong origin are trusted, and HTTPS requests may be silently downgraded to HTTP. Impacted users are applications that use Socks5ProxyAgent (directly or via setGlobalDispatcher) and make requests to more than one origin. This was introduced in undici 7.23.0 via PR #4385 and affects all versions through 8.1.0. Patches: Upgrade to undici v7.26.0 or v8.2.0. Workarounds: Use a separate Socks5ProxyAgent instance per origin, or avoid using Socks5ProxyAgent with multiple origins.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-6734. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-6734.md Affected: undici >= 7.23.0, < 7.28.0 Fixed in: 7.28.0, 8.2.0 Steps: 1. Search this machine and project for undici (npm), undici: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- https://github.com/nodejs/undici/security/advisories/GHSA-hm92-r4w5-c3mj
- https://cna.openjsf.org/security-advisories.html
- https://access.redhat.com/errata/RHSA-2026:48151
- https://access.redhat.com/errata/RHSA-2026:35841
- https://access.redhat.com/errata/RHSA-2026:39868
- https://access.redhat.com/errata/RHSA-2026:35891
- https://access.redhat.com/errata/RHSA-2026:34342
- https://access.redhat.com/errata/RHSA-2026:36754
- https://access.redhat.com/errata/RHSA-2026:41929
- https://access.redhat.com/errata/RHSA-2026:38236
- https://access.redhat.com/errata/RHSA-2026:7378
- https://access.redhat.com/errata/RHSA-2026:22380
- https://access.redhat.com/errata/RHSA-2026:22934
- https://access.redhat.com/errata/RHSA-2026:65126
- https://access.redhat.com/errata/RHSA-2026:60520
- https://access.redhat.com/errata/RHSA-2026:48124
- https://access.redhat.com/errata/RHSA-2026:36820
- https://access.redhat.com/errata/RHSA-2026:56431
- https://access.redhat.com/errata/RHSA-2026:56366
- https://access.redhat.com/errata/RHSA-2026:57013
- https://nvd.nist.gov/vuln/detail/CVE-2026-6734
FAQ
Is CVE-2026-6734 being exploited?
There is no confirmed exploitation: CVE-2026-6734 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.39% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-6734?
High: CVSS 7.5 (v3.1, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2026-6734?
undici >= 7.23.0, < 7.28.0.
Is there a fix for CVE-2026-6734?
Yes. Fixed in 7.28.0, 8.2.0. Upgrade undici to one of 7.28.0, 8.2.0 (or later in the same release line).
How do I check if I'm affected by CVE-2026-6734?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.