cve.bz

CVE-2026-9697 nodejs undici: Improper Certificate Validation

7.4 highEPSS 0.5%Fix available

High (7.4) in nodejs undici. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in undici 7.28.0, 8.5.0.

On this page
Impact: undici's ProxyAgent silently drops the requestTls option when configured with a SOCKS5 proxy URI (socks5:// or socks://). The target HTTPS connection through the SOCKS5 tunnel falls back to Node's default trust store, ignoring user-configured ca, cert, key, rejectUnauthorized, and servername settings. Applications that pin to an internal or corporate CA via requestTls.ca will, when their proxy URI is SOCKS5, get the default Mozilla CA bundle as the trust anchor instead. Any cert signed by any publicly-trusted CA for the target hostname is accepted, breaking the intended pin and enabling MITM read and tamper of the HTTPS exchange. Affected applications are those that use undici's ProxyAgent (or Socks5ProxyAgent directly) with SOCKS5 AND rely on requestTls for TLS scope restriction. The bug was introduced in undici 7.23.0 when SOCKS5 support was added. Patches: Upgrade to undici v7.28.0 or v8.5.0. Workarounds: No workaround is available within the SOCKS5 path. If a SOCKS5 proxy with TLS scope restriction is required and an upgrade is not yet possible, route the traffic through an HTTP-proxy ProxyAgent instead, where requestTls is honored correctly.

Severity

CVSS 3.1

7.4 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS
0.5% (unchanged from 0.5% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 41st 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.
CWE
CWE-295 Improper Certificate Validation
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-9697 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-9697?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-9697?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-9697 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.28.0
undicifrom 8.0.0 before 8.5.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-vmh5-mc38-953gnpmundici>=7.23.0 <7.28.07.28.0
GHSA-vmh5-mc38-953gnpmundici>=8.0.0 <8.5.08.5.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13node-undicino fix listedDEBIAN-CVE-2026-9697
Debian14node-undici8.5.0+dfsg+~cs3.2.0-1DEBIAN-CVE-2026-9697
Ubuntu24.04:LTS, 25.10, 26.04:LTS and 1 morenode-undicino fix listedUBUNTU-CVE-2026-9697
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
Azure Linux3nodejs24.17.0-1AZL-91227

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; Microsoft's Azure Linux vulnerability data, MIT. 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 an Important vulnerability. Applications using `undici`'s `ProxyAgent` with a SOCKS5 proxy URI will silently ignore user-configured TLS options, including custom Certificate Authorities. This bypasses intended security controls for HTTPS communication, enabling a remote attacker to perform Man-in-the-Middle attacks, potentially leading to information disclosure or arbitrary code execution in affected Red Hat products.

Red Hat's mitigation

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.

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 4grafana-infinity-datasource-npmAffected
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
98 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-9697.

Attack patterns (CAPEC)

  • CAPEC-459 Creating a Rogue Certification Authority Certificate Likelihood: Medium · Severity: Very High
  • CAPEC-475 Signature Spoofing by Improper Validation Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON