Home / undici / undici / CVE-2026-9697
CVE-2026-9697: is it exploited, and which versions of undici are affected and fixed?
CVE-2026-9697 is an improper certificate validation vulnerability in undici. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 19:39 UTC). Affected: undici from 7.23.0 before 7.28.0 and undici from 8.0.0 before 8.5.0 (GitHub advisory GHSA-vmh5-mc38-953g). Fixed in 7.28.0 and 8.5.0 (GitHub advisory GHSA-vmh5-mc38-953g). Severity: High (7.4, CVSS 3.1, from openjs).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 19:39 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:10 UTC.
What is CVE-2026-9697?
undici vulnerable to TLS certificate validation bypass via dropped requestTls in SOCKS5 ProxyAgent
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.
From the CVE record by openjs, last updated September 10, 2026, 12:04 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| undici | undici | from 7.23.0 before 7.28.0 from 8.0.0 before 8.5.0 | 7.28.0, 8.5.0 |
As the CVE record by openjs states it, last updated September 10, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | undici | >= 7.23.0, < 7.28.0 | 7.28.0 | GHSA-vmh5-mc38-953g |
| npm | undici | >= 8.0.0, < 8.5.0 | 8.5.0 | GHSA-vmh5-mc38-953g |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated June 18, 2026. Summary: undici vulnerable to TLS certificate validation bypass via dropped requestTls in SOCKS5 ProxyAgent.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| nodejs | undici | from 7.23.0 before 7.28.0 | application |
| nodejs | undici | from 8.0.0 before 8.5.0 | application |
NVD analysis (status Modified), last modified September 10, 2026, 13:20 UTC.
How severe is CVE-2026-9697?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.4 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N | openjs |
| High 7.4 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N | redhat-SADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-9697 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, June 22, 2026)
- EPSS
- 0.46% probability of exploitation activity in the next 30 days, percentile 41.5 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-295 Improper Certificate Validation
Where are the vendor advisories and references?
- https://github.com/nodejs/undici/security/advisories/GHSA-vmh5-mc38-953g
- https://cna.openjsf.org/security-advisories.html
- https://access.redhat.com/security/cve/CVE-2026-9697 vdb-entry, x_refsource_REDHAT
- RHBZ#2490018 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-9697.json x_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:48151 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:35841 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:39868 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:35891 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:34342 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:36754 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:41929 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:38236 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:7378 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:22380 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:22934 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:65126 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:60520 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:36621 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:47728 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:48124 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:36820 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:56431 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:56366 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:57013 vendor-advisory, x_refsource_REDHAT
Who found and reported it?
- tonghuaroot (reporter)
- UlisesGascon (remediation reviewer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- May 27, 2026
- Published
- June 17, 2026, 16:46 UTC
- CVE record updated
- September 10, 2026, 12:04 UTC by openjs
- NVD
- Modified, last modified September 10, 2026, 13:20 UTC
- Last checked
- CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:10 UTC; KEV December 3, 2026, 19:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect undici?
- Nov 6, 2026CVE-2026-116630 undici: origin not validated
- Nov 6, 2026CVE-2026-120415 undici: information disclosure
- Nov 6, 2026CVE-2026-120423 undici: improper Validation of Integrity Check Value
- Nov 6, 2026CVE-2026-116592 undici: origin not validated
- Nov 6, 2026CVE-2026-120222 undici: uncaught exception (crash)
- Nov 6, 2026CVE-2026-120474 undici: use of Cache Containing Sensitive Information
- Oct 15, 2026CVE-2026-87029 undici: uncaught exception (crash)
- Oct 15, 2026CVE-2026-109932 undici: denial of service (uncontrolled resource consumption)
Questions about CVE-2026-9697
Is CVE-2026-9697 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 19:39 UTC. FIRST's EPSS gives it a 0.46% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of undici are affected by CVE-2026-9697?
undici from 7.23.0 before 7.28.0 and undici from 8.0.0 before 8.5.0, per the GitHub advisory GHSA-vmh5-mc38-953g. The tables above give every range the sources list.
Which version fixes CVE-2026-9697?
7.28.0 and 8.5.0, per the GitHub advisory GHSA-vmh5-mc38-953g. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-9697?
High (7.4, CVSS 3.1, from openjs). The severity table above shows each score with its source.
Where is the official record of CVE-2026-9697?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.