8.8

CVE-2026-6734

undici vulnerable to cross-origin request routing via SOCKS5 proxy pool reuse

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.
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
NodejsUndici SwPlatformnode.js Version >= 7.23.0 < 7.28.0
NodejsUndici SwPlatformnode.js Version >= 8.0.0 < 8.2.0
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.36% 0.279
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
nvd@nist.gov 8.8 2.8 5.9
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
ce714d77-add3-4f53-aff5-83d477b104bb 7.5 1.6 5.9
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
0b0ca135-0b70-47e7-9f44-1890c2a1c46c 7.5 1.6 5.9
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE-346 Origin Validation Error

The product does not properly verify that the source of data or communication is valid.

CWE-940 Improper Verification of Source of a Communication Channel

The product establishes a communication channel to handle an incoming request that has been initiated by an actor, but it does not properly verify that the request is coming from the expected origin.

https://cna.openjsf.org/security-advisories.html
Vendor Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2490024
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6734.json
https://access.redhat.com/errata/RHSA-2026:35841
https://access.redhat.com/errata/RHSA-2026:35891
https://access.redhat.com/errata/RHSA-2026:34342
https://github.com/nodejs/undici/security/advisories/GHSA-hm92-r4w5-c3mj
Vendor Advisory
Mitigation
https://access.redhat.com/errata/RHSA-2026:22380
https://access.redhat.com/errata/RHSA-2026:22934
https://access.redhat.com/errata/RHSA-2026:7378
https://access.redhat.com/security/cve/CVE-2026-6734
https://access.redhat.com/errata/RHSA-2026:36820
https://access.redhat.com/errata/RHSA-2026:36754