cve.bz

CVE-2026-6734 nodejs undici: Origin Validation Error

8.8 highEPSS 0.3%Fix available

High (8.8) in nodejs undici. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in undici 7.28.0, 8.2.0.

On this page
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.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 29th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-06-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-346 Origin Validation Error
CWE-940 Improper Verification of Source of a Communication Channel
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-6734 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-6734?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-6734?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-6734 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
undicifrom 7.23.0 before 7.26.0
undicifrom 8.0.0 before 8.2.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-hm92-r4w5-c3mjnpmundici>=7.23.0 <7.28.07.28.0
GHSA-hm92-r4w5-c3mjnpmundici>=8.0.0 <8.2.08.2.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13node-undicino fix listedDEBIAN-CVE-2026-6734
Debian14node-undici8.5.0+dfsg+~cs3.2.0-1DEBIAN-CVE-2026-6734
Ubuntu24.04:LTS, 25.10, 26.04:LTS and 1 morenode-undicino fix listedUBUNTU-CVE-2026-6734
Red Hatenterprise_linux:8::appstreamnodejs, nodejs-docs, nodejs-libs and 5 more1:24.18.0-1.module+el8.10.0+24481+7a71fac8RHSA-2026:39868
Red Hatenterprise_linux:8::appstreamnodejs-nodemon0:3.0.3-1.module+el8.10.0+24190+49a46c75RHSA-2026:39868
Red Hatenterprise_linux:8::appstreamnodejs-packaging, nodejs-packaging-bundler0:2021.06-6.module+el8.10.0+24190+49a46c75RHSA-2026:39868
Red Hatenterprise_linux:8::appstreamnpm1:11.16.0-1.24.18.0.1.module+el8.10.0+24481+7a71fac8RHSA-2026:39868
Red Hatenterprise_linux:8::appstreamv8-13.6-devel3:13.6.233.17-1.24.18.0.1.module+el8.10.0+24481+7a71fac8RHSA-2026:39868
Red Hatenterprise_linux:9::appstreamnodejs, nodejs-docs, nodejs-libs and 5 more1:24.18.0-1.module+el9.8.0+24456+b244c3b4RHSA-2026:35891
Red Hatenterprise_linux:9::appstreamnodejs-nodemon0:3.0.3-3.module+el9.8.0+24355+35d95b59RHSA-2026:35891
Red Hatenterprise_linux:9::appstreamnodejs-packaging, nodejs-packaging-bundler0:2021.06-6.module+el9.8.0+24355+35d95b59RHSA-2026:35891
Red Hatenterprise_linux:9::appstreamnpm1:11.16.0-1.24.18.0.1.module+el9.8.0+24456+b244c3b4RHSA-2026:35891
Red Hatenterprise_linux:9::appstreamv8-13.6-devel3:13.6.233.17-1.24.18.0.1.module+el9.8.0+24456+b244c3b4RHSA-2026:35891
Red Hatenterprise_linux:10.2nodejs24, nodejs24-docs, nodejs24-libs and 5 more1:24.18.0-1.el10_2RHSA-2026:35841
Red Hatenterprise_linux:10.2nodejs24-npm1:11.16.0-1.24.18.0.1.el10_2RHSA-2026:35841
8 more for Red Hat in the JSON and on Red Hat's page.
AlmaLinux8nodejs, nodejs-docs, nodejs-libs and 2 more1:24.18.0-1.module_el8.10.0+4228+2938bc94ALSA-2026:39868
AlmaLinux8nodejs-nodemon3.0.3-1.module_el8.10.0+4061+f8ceeab9ALSA-2026:39868
AlmaLinux8nodejs-packaging, nodejs-packaging-bundler2021.06-6.module_el8.10.0+4086+70facd4aALSA-2026:39868
AlmaLinux8npm1:11.16.0-1.24.18.0.1.module_el8.10.0+4228+2938bc94ALSA-2026:39868
AlmaLinux8v8-13.6-devel3:13.6.233.17-1.24.18.0.1.module_el8.10.0+4228+2938bc94ALSA-2026:39868
AlmaLinux9nodejs, nodejs-docs, nodejs-libs and 2 more1:24.18.0-1.module_el9.8.0+277+61fc613eALSA-2026:35891
AlmaLinux9nodejs-nodemon3.0.3-3.module_el9.7.0+209+ecf6523eALSA-2026:35891
AlmaLinux9nodejs-packaging, nodejs-packaging-bundler2021.06-6.module_el9.7.0+209+ecf6523eALSA-2026:35891
AlmaLinux9npm1:11.16.0-1.24.18.0.1.module_el9.8.0+277+61fc613eALSA-2026:35891
AlmaLinux9v8-13.6-devel3:13.6.233.17-1.24.18.0.1.module_el9.8.0+277+61fc613eALSA-2026:35891
AlmaLinux10nodejs24-docs1:24.18.0-1.el10_2ALSA-2026:35841
AlmaLinux10nodejs24-npm1:11.16.0-1.24.18.0.1.el10_2ALSA-2026:35841
Rocky Linux8nodejs1:24.18.0-1.module+el8.10.0+40252+a58646bcRLSA-2026:39868
Rocky Linux8nodejs-nodemon0:3.0.3-1.module+el8.10.0+2084+ab509703RLSA-2026:39868
Rocky Linux8nodejs-packaging0:2021.06-6.module+el8.10.0+40048+6d99f608RLSA-2026:39868
Rocky Linux8nodejs-packaging0:2021.06-6.module+el8.10.0+40171+8fa9c325RLSA-2026:39868
Rocky Linux8nodejs-packaging0:2021.06-6.module+el8.10.0+40172+38f6fdd1RLSA-2026:39868
Rocky Linux9nodejs-nodemon0:3.0.3-3.module+el9.7.0+40025+0e0cf6b2RLSA-2026:35891
Rocky Linux9nodejs-packaging0:2021.06-6.module+el9.7.0+40052+e32ea525RLSA-2026:35891
Rocky Linux9nodejs-packaging0:2021.06-6.module+el9.7.0+40153+4d595597RLSA-2026:35891
Rocky Linux9nodejs-packaging0:2021.06-6.module+el9.7.0+40165+d075e3f2RLSA-2026:35891
Rocky Linux10nodejs241:24.18.0-1.el10_2RLSA-2026:35841

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This is rated as an Important security flaw. The `undici` library, when configured with `Socks5ProxyAgent` to handle requests for multiple origins, incorrectly reuses connection pools. This can lead to sensitive data and credentials being misrouted to unintended destinations, potentially downgrading HTTPS connections to HTTP and compromising data integrity and confidentiality. Red Hat products utilizing `undici` with `Socks5ProxyAgent` in multi-origin scenarios are affected.

Red Hat's mitigation

The single most impactful mitigation is applying network egress controls to restrict which external destinations affected applications can reach. Because the vulnerability causes requests to be misrouted to wrong origins, limiting the set of reachable origins directly reduces the attack surface. These controls collectively limit the blast radius of the connection pool misrouting — the attacker must compromise one of the explicitly allowed destinations rather than any arbitrary origin — but they do not fix the underlying logic bug.

ProductPackageStateAdvisory
Cryostat 4 on RHEL 9cryostat/cryostat-grafana-dashboard-rhel9:4.2.0-13Fixed 2026-07-29RHSA-2026:48151
Red Hat Enterprise Linux 10nodejs24-1:24.18.0-1.el10_2Fixed 2026-07-06RHSA-2026:35841
Red Hat Enterprise Linux 8nodejs:24-8100020260630152626.6d880403Fixed 2026-07-15RHSA-2026:39868
Red Hat Enterprise Linux 9nodejs:24-9080020260626074955.rhel9Fixed 2026-07-06RHSA-2026:35891
Cluster Observability Operator 1.5.3cluster-observability-operator/distributed-tracing-console-plugin-pf4-rhel9:1782840519Fixed 2026-07-01RHSA-2026:34342
Cluster Observability Operator 1.5.3cluster-observability-operator/distributed-tracing-console-plugin-pf5-rhel9:1782839981Fixed 2026-07-01RHSA-2026:34342
Cluster Observability Operator 1.5.3cluster-observability-operator/distributed-tracing-console-plugin-pf6-rhel9:1782839193Fixed 2026-07-01RHSA-2026:34342
Cluster Observability Operator 1.5.3cluster-observability-operator/distributed-tracing-console-plugin-rhel9:1782838753Fixed 2026-07-01RHSA-2026:34342
Cluster Observability Operator 1.5.3cluster-observability-operator/logging-console-plugin-rhel9:1782841925Fixed 2026-07-01RHSA-2026:34342
Cluster Observability Operator 1.5.3cluster-observability-operator/monitoring-console-plugin-pf5-rhel9:1782844225Fixed 2026-07-01RHSA-2026:34342
Cryostat 4cryostat-openshift-console-plugin-npmNot affected
Cryostat 4undiciNot affected
OpenShift Pipelinesopenshift-pipelines/pipelines-console-plugin-pf5-rhel9Affected
OpenShift Pipelinesopenshift-pipelines/pipelines-console-plugin-rhel8Affected
OpenShift Pipelinesopenshift-pipelines/pipelines-console-plugin-rhel9Affected
Red Hat AMQ Broker 7undiciNot affected
Red Hat Build of Podman Desktoprh-podman-desktop.gitAffected
Red Hat Enterprise Linux 10nodejs22Not affected
Red Hat Enterprise Linux 8nodejs:22/nodejsNot affected
Red Hat Enterprise Linux 9nodejs:22/nodejsNot affected
97 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-6734.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-346 (16).

References

Check your stackJSON