CVE-2026-9697
JSON

7.4high

undici vulnerable to TLS certificate validation bypass via dropped requestTls in SOCKS5 ProxyAgent

Severity
7.4high CVSS:3.1 by openjs
Exploit likelihood
0.46% (higher than 41% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
openjs
Also known as
GHSA-vmh5-mc38-953g

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.

Affected

Product or packageVersionsReported by
undici undicifrom 7.23.0 before 7.28.0, from 8.0.0 before 8.5.0
Not affected: 7.28.0, 8.5.0
CVE List
cryostat/cryostat-grafana-dashboard-rhel9Not specified
Not affected: from 4.2.0-13 before *
CVE List
nodejs24Not specified
Not affected: from 1:24.18.0-1.el10_2 before *
CVE List
nodejs:24Not specified
Not affected: from 8100020260630152626.6d880403 before *, from 9080020260626074955.rhel9 before *
CVE List
cluster-observability-operator/distributed-tracing-console-plugin-pf4-rhel9Not specified
Not affected: from 1782840519 before *
CVE List
cluster-observability-operator/distributed-tracing-console-plugin-pf5-rhel9Not specified
Not affected: from 1782839981 before *
CVE List
cluster-observability-operator/distributed-tracing-console-plugin-pf6-rhel9Not specified
Not affected: from 1782839193 before *
CVE List
cluster-observability-operator/distributed-tracing-console-plugin-rhel9Not specified
Not affected: from 1782838753 before *
CVE List
cluster-observability-operator/logging-console-plugin-rhel9Not specified
Not affected: from 1782841925 before *
CVE List
cluster-observability-operator/monitoring-console-plugin-pf5-rhel9Not specified
Not affected: from 1782844225 before *
CVE List
cluster-observability-operator/monitoring-console-plugin-pf6-rhel9Not specified
Not affected: from 1782839658 before *
CVE List
cluster-observability-operator/monitoring-console-plugin-rhel9Not specified
Not affected: from 1782838476 before *
CVE List

All scores

openjs7.4high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
redhat-SADP7.4high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
GitHub7.4high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Classification

CWE-295

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

GitHub Advisory Database

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.

References

https://github.com/nodejs/undici/security/advisories/GHSA-vmh5-mc38-953gmitigation, vendor-advisory, web
https://cna.openjsf.org/security-advisories.htmlvendor-advisory, web
https://access.redhat.com/security/cve/CVE-2026-9697vdb-entry
https://bugzilla.redhat.com/show_bug.cgi?id=2490018issue-tracking
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-9697.json
https://access.redhat.com/errata/RHSA-2026:48151vendor-advisory
https://access.redhat.com/errata/RHSA-2026:35841vendor-advisory
https://access.redhat.com/errata/RHSA-2026:39868vendor-advisory
https://access.redhat.com/errata/RHSA-2026:35891vendor-advisory
https://access.redhat.com/errata/RHSA-2026:34342vendor-advisory
https://access.redhat.com/errata/RHSA-2026:36754vendor-advisory
https://access.redhat.com/errata/RHSA-2026:41929vendor-advisory

Sources

SourceRecordLicence
CVE ListCVE-2026-9697 changed 2026-09-10CVE Terms of Use
GitHub Advisory DatabaseGHSA-vmh5-mc38-953g changed 2026-09-10CC-BY-4.0
NVDCVE-2026-9697 changed 2026-09-10Public domain