Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2026-9697

undici: undici: Man-in-the-Middle attack via ignored TLS options with SOCKS5 proxy

Overview

Published
17 Jun 2026
Modified
10 Sep 2026
High CVE
1 Registry packages
41 OS packages
10 Linux distributions
Yes Fix available

Description

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.

Source: OX vulnerability database

Severity

7.4 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Weakness: CWE-295

Affected packages · 1

Packages affected by CVE-2026-9697
EcosystemPackageVulnerableFixed in
npm undici >=7.23.0, <7.28.0>=8.0.0, <8.5.0 7.28.08.5.0

Open a package to see all its vulnerabilities.

Operating systems · 83 fixes

Azure Linux 1 release · 1 package

fixed 1
nodejs
Azure Linux fixes for CVE-2026-9697
ReleasePackageFixed in
3.0 nodejs 0:24.17.0-1.azl3

Oracle Linux 2 releases · 5 packages

fixed 10
npm nodejs nodejs-packaging nodejs-nodemon v8-13-6-devel
Oracle Linux fixes for CVE-2026-9697
ReleasePackageFixed in
8 npm 1:11.16.0-1.24.18.0.1.module+el8.10.0+90961+a86f8457
8 nodejs +4 1:24.18.0-1.module+el8.10.0+90961+a86f8457
8 nodejs-packaging +1 2021.06-6.module+el8.10.0+90961+a86f8457
8 nodejs-nodemon 3.0.3-1.module+el8.10.0+90961+a86f8457
8 v8-13-6-devel 3:13.6.233.17-1.24.18.0.1.module+el8.10.0+90961+a86f8457
9 npm 1:11.16.0-1.24.18.0.1.module+el9.8.0+90946+13dc792a

4 more rows

Red Hat 5 releases · 6 packages

affected 3 fixed 10
openshift4-ose-monitoring-plugin-rhel9 nodejs-packaging nodejs-nodemon npm nodejs v8-13-6-devel
Red Hat fixes for CVE-2026-9697
ReleasePackageFixed inAdvisory
7 openshift4-ose-monitoring-plugin-rhel9 affected —
8 openshift4-ose-monitoring-plugin-rhel9 affected —
8 (nodejs:24) nodejs-packaging +1 0:2021.06-6.module+el8.10.0+24190+49a46c75 RHSA-2026:39868
8 (nodejs:24) nodejs-nodemon 0:3.0.3-1.module+el8.10.0+24190+49a46c75 RHSA-2026:39868
8 (nodejs:24) npm 1:11.16.0-1.24.18.0.1.module+el8.10.0+24481+7a71fac8 RHSA-2026:39868
8 (nodejs:24) nodejs +4 1:24.18.0-1.module+el8.10.0+24481+7a71fac8 RHSA-2026:39868

7 more rows

alma 3 releases · 7 packages

fixed 12
nodejs24-npm nodejs24-docs npm nodejs nodejs-packaging nodejs-nodemon +1
alma fixes for CVE-2026-9697
ReleasePackageFixed in
10 nodejs24-npm 1:11.16.0-1.24.18.0.1.el10_2
10 nodejs24-docs 1:24.18.0-1.el10_2
8 (nodejs:24) npm 1:11.16.0-1.24.18.0.1.module_el8.10.0+4228+2938bc94
8 (nodejs:24) nodejs +4 1:24.18.0-1.module_el8.10.0+4228+2938bc94
8 (nodejs:24) nodejs-packaging +1 2021.06-6.module_el8.10.0+4086+70facd4a
8 (nodejs:24) nodejs-nodemon 3.0.3-1.module_el8.10.0+4061+f8ceeab9

6 more rows

amazon linux 1 release · 3 packages

fixed 3
nodejs24-npm nodejs24 v8-13-6-devel
amazon linux fixes for CVE-2026-9697
ReleasePackageFixed in
2023 nodejs24-npm 1:11.16.0-1.24.18.0.1.amzn2023.0.1
2023 nodejs24 +7 1:24.18.0-1.amzn2023.0.1
2023 v8-13-6-devel 3:13.6.233.17-1.24.18.0.1.amzn2023.0.1

chainguard 1 release · 15 packages

fixed 15
py3-captum commercial-gitlab-rails-ee-19-1 commercial-gitlab-rails-ee-fips-19-1 commercial-gitlab-rails-ee-19-2 commercial-gitlab-rails-ee-19-3 vitess-24 +9
chainguard fixes for CVE-2026-9697
ReleasePackageFixed in
py3-captum 0.9.0-r1
commercial-gitlab-rails-ee-19-1 19.1.7-r3
commercial-gitlab-rails-ee-fips-19-1 19.1.9-r0
commercial-gitlab-rails-ee-19-2 +1 19.2.7-r1
commercial-gitlab-rails-ee-19-3 +1 19.3.3-r1
vitess-24 24.0.3-r7

9 more rows

debian 2 releases · 1 package

affected 1 fixed 1
node-undici
debian fixes for CVE-2026-9697
ReleasePackageFixed in
13 node-undici affected
14 node-undici 8.5.0+dfsg+~cs3.2.0-1

minimos 1 release · 6 packages

fixed 6
n8n openclaw langfuse-3 trigger-dev kibana-9-3 kibana-9-4
minimos fixes for CVE-2026-9697
ReleasePackageFixed in
n8n 2.28.3-r0
openclaw 2026.6.9-r0
langfuse-3 3.194.0-r0
trigger-dev 4.5.4-r0
kibana-9-3 9.3.8-r0
kibana-9-4 9.4.4-r0

rocky 3 releases · 7 packages

fixed 17
nodejs24-npm nodejs24 npm nodejs nodejs-packaging nodejs-nodemon +1
rocky fixes for CVE-2026-9697
ReleasePackageFixed in
10 nodejs24-npm 1:11.16.0-1.24.18.0.1.el10_2
10 nodejs24 +4 1:24.18.0-1.el10_2
8 (nodejs:24) npm 1:11.16.0-1.24.18.0.1.module+el8.10.0+40252+a58646bc
8 (nodejs:24) nodejs +4 1:24.18.0-1.module+el8.10.0+40252+a58646bc
8 (nodejs:24) nodejs-packaging +1 2021.06-6.module+el8.10.0+40048+6d99f608
8 (nodejs:24) nodejs-packaging +1 2021.06-6.module+el8.10.0+40171+8fa9c325

11 more rows

wolfi 1 release · 4 packages

fixed 4
vitess-24 langfuse-3 code-server renovate
wolfi fixes for CVE-2026-9697
ReleasePackageFixed in
vitess-24 24.0.3-r7
langfuse-3 3.225.7-r6
code-server 4.125.0-r2
renovate 43.247.0-r0

References

Show all 77 references

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.