{"document":{"category":"csaf_vex","csaf_version":"2.0","title":"CVE-2026-6734: undici vulnerable to cross-origin request routing via SOCKS5 proxy pool reuse","publisher":{"category":"vendor","name":"HarborGuard Database","namespace":"https://database.harborguard.co"},"tracking":{"id":"CVE-2026-6734","status":"final","version":"1","initial_release_date":"2026-06-17T16:36:55.439Z","current_release_date":"2026-06-17T18:26:51.736Z","revision_history":[{"date":"2026-06-17T16:36:55.439Z","number":"1","summary":"Initial machine-readable export from HarborGuard."}]},"distribution":{"tlp":{"label":"WHITE"},"text":"Public CVE data; freely redistributable."},"notes":[{"category":"description","text":"Impact:\nWhen 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.\n\nThis 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.\n\nImpacted users are applications that use Socks5ProxyAgent (directly or via setGlobalDispatcher) and make requests to more than one origin.\n\nThis was introduced in undici 7.23.0 via PR #4385 and affects all versions through 8.1.0.\n\nPatches:\nUpgrade to undici v7.26.0 or v8.2.0.\n\nWorkarounds:\nUse a separate Socks5ProxyAgent instance per origin, or avoid using Socks5ProxyAgent with multiple origins.","title":"CVE description"}],"references":[{"category":"self","summary":"CVE-2026-6734 on HarborGuard Database","url":"https://database.harborguard.co/cve/CVE-2026-6734"},{"category":"external","summary":"CVE Record","url":"https://www.cve.org/CVERecord?id=CVE-2026-6734"},{"category":"external","summary":"github.com","url":"https://github.com/nodejs/undici/security/advisories/GHSA-hm92-r4w5-c3mj"},{"category":"external","summary":"cna.openjsf.org","url":"https://cna.openjsf.org/security-advisories.html"}]},"product_tree":{"branches":[{"category":"vendor","name":"undici","branches":[{"category":"product_name","name":"undici","branches":[{"category":"product_version_range","name":">=7.23.0 <7.26.0","product":{"name":"undici undici >=7.23.0 <7.26.0","product_id":"CSAFPID-1","product_identification_helper":{"cpe":"cpe:2.3:a:undici:undici:*:*:*:*:*:*:*:*"}}},{"category":"product_version_range","name":">=8.0.0 <8.2.0","product":{"name":"undici undici >=8.0.0 <8.2.0","product_id":"CSAFPID-2","product_identification_helper":{"cpe":"cpe:2.3:a:undici:undici:*:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"7.26.0","product":{"name":"undici undici 7.26.0","product_id":"CSAFPID-3","product_identification_helper":{"cpe":"cpe:2.3:a:undici:undici:*:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"8.2.0","product":{"name":"undici undici 8.2.0","product_id":"CSAFPID-4","product_identification_helper":{"cpe":"cpe:2.3:a:undici:undici:*:*:*:*:*:*:*:*"}}}]}]}]},"vulnerabilities":[{"cve":"CVE-2026-6734","title":"undici vulnerable to cross-origin request routing via SOCKS5 proxy pool reuse","notes":[{"category":"description","text":"Impact:\nWhen 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.\n\nThis 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.\n\nImpacted users are applications that use Socks5ProxyAgent (directly or via setGlobalDispatcher) and make requests to more than one origin.\n\nThis was introduced in undici 7.23.0 via PR #4385 and affects all versions through 8.1.0.\n\nPatches:\nUpgrade to undici v7.26.0 or v8.2.0.\n\nWorkarounds:\nUse a separate Socks5ProxyAgent instance per origin, or avoid using Socks5ProxyAgent with multiple origins.","title":"CVE description"}],"product_status":{"known_affected":["CSAFPID-1","CSAFPID-2"],"fixed":["CSAFPID-3","CSAFPID-4"]},"scores":[{"cvss_v3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.5,"baseSeverity":"HIGH"},"products":["CSAFPID-1","CSAFPID-2"]}],"remediations":[{"category":"vendor_fix","details":"Update to a fixed version: 7.26.0, 8.2.0.","product_ids":["CSAFPID-1","CSAFPID-2"]}]}]}