CVE-2026-9697
published 2026-06-17CVE-2026-9697: Impact: undici's ProxyAgent silently drops the requestTls option when configured with a SOCKS5 proxy URI (socks5:// or socks://). The target HTTPS connection…
PriorityP347high7.4CVSS 3.1
AVNACHPRNUINSUCHIHAN
EPSS
0.38%
29.3th percentile
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
33 ranges· showing 25
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| ansible-automation-platform | automation-portal | — | — |
| ansible-automation-platform | bootc-automation-portal-rhel9 | — | — |
| devspaces | code-rhel9 | — | — |
| devspaces | dashboard-rhel9 | — | — |
| devspaces | openvsx-rhel9 | — | — |
| devspaces | pluginregistry-rhel9 | — | — |
| nodejs | nodejs | — | — |
| nodejs | undici | >= 7.23.0 < 7.28.0 | 7.28.0 |
| nodejs | undici | >= 8.0.0 < 8.5.0 | 8.5.0 |
| nodejs_24 | nodejs | — | — |
| odf4 | ocs-client-console-rhel9 | — | — |
| odf4 | odf-console-rhel9 | — | — |
| odf4 | odf-multicluster-console-rhel9 | — | — |
| openshift-pipelines | pipelines-console-plugin-pf5-rhel9 | — | — |
| openshift-pipelines | pipelines-console-plugin-rhel8 | — | — |
| openshift-pipelines | pipelines-console-plugin-rhel9 | — | — |
| openshift4 | ose-agent-installer-ui-rhel9 | — | — |
| openshift4 | ose-console-rhel9 | — | — |
| openshift4 | ose-monitoring-plugin-rhel9 | — | — |
| rhdh | rhdh-hub-rhel9 | — | — |
| rhoai | odh-dashboard-rhel9 | — | — |
| rhoai | odh-mod-arch-automl-rhel9 | — | — |
| rhoai | odh-mod-arch-autorag-rhel9 | — | — |
| rhoai | odh-mod-arch-eval-hub-rhel9 | — | — |
| rhoai | odh-mod-arch-gen-ai-rhel9 | — | — |
CVSS provenance
nvdv3.17.4HIGHCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
cvelistv5v3.17.4HIGHCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
vendor_redhat7.4HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
undici vulnerable to TLS certificate validation bypass via dropped requestTls in SOCKS5 ProxyAgent
ghsa·2026-06-18
CVE-2026-9697 [HIGH] CWE-295 undici vulnerable to TLS certificate validation bypass via dropped requestTls in SOCKS5 ProxyAgent
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 tho
VulDB
undici up to 7.27.x/8.4.x Setting servername certificate validation (GHSA-vmh5-mc38-953g)
vuldb·2026-06-17
CVE-2026-9697 [LOW] undici up to 7.27.x/8.4.x Setting servername certificate validation (GHSA-vmh5-mc38-953g)
A vulnerability was found in undici up to 7.27.x/8.4.x and classified as problematic. The impacted element is an unknown function of the component Setting Handler. Executing a manipulation of the argument servername can lead to improper certificate validation.
This vulnerability is tracked as CVE-2026-9697. The attack can be launched remotely. No exploit exists.
It is suggested to upgrade the affected component.
CVEList
undici vulnerable to TLS certificate validation bypass via dropped requestTls in SOCKS5 ProxyAgent
cvelistv5·2026-06-17·CVSS 7.4
CVE-2026-9697 [HIGH] CWE-295 undici vulnerable to TLS certificate validation bypass via dropped requestTls in SOCKS5 ProxyAgent
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 Pr
Red Hat
undici: undici: Man-in-the-Middle attack via ignored TLS options with SOCKS5 proxy
vendor_redhat·2026-06-17·CVSS 7.4
CVE-2026-9697 [HIGH] CWE-295 undici: undici: Man-in-the-Middle attack via ignored TLS options with SOCKS5 proxy
undici: undici: Man-in-the-Middle attack via ignored TLS options with SOCKS5 proxy
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 Socks
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2026-9697 fbthrift: undici: Man-in-the-Middle attack via ignored TLS options with SOCKS5 proxy [fedora-all]
bugzilla·2026-06-17
CVE-2026-9697 [HIGH] CVE-2026-9697 fbthrift: undici: Man-in-the-Middle attack via ignored TLS options with SOCKS5 proxy [fedora-all]
CVE-2026-9697 fbthrift: undici: Man-in-the-Middle attack via ignored TLS options with SOCKS5 proxy [fedora-all]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
Bugzilla
CVE-2026-9697 nodejs22: undici: Man-in-the-Middle attack via ignored TLS options with SOCKS5 proxy [fedora-all]
bugzilla·2026-06-17
CVE-2026-9697 [HIGH] CVE-2026-9697 nodejs22: undici: Man-in-the-Middle attack via ignored TLS options with SOCKS5 proxy [fedora-all]
CVE-2026-9697 nodejs22: undici: Man-in-the-Middle attack via ignored TLS options with SOCKS5 proxy [fedora-all]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
Bugzilla
CVE-2026-9697 nodejs24: undici: Man-in-the-Middle attack via ignored TLS options with SOCKS5 proxy [fedora-all]
bugzilla·2026-06-17
CVE-2026-9697 [HIGH] CVE-2026-9697 nodejs24: undici: Man-in-the-Middle attack via ignored TLS options with SOCKS5 proxy [fedora-all]
CVE-2026-9697 nodejs24: undici: Man-in-the-Middle attack via ignored TLS options with SOCKS5 proxy [fedora-all]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
Bugzilla
CVE-2026-9697 undici: undici: Man-in-the-Middle attack via ignored TLS options with SOCKS5 proxy
bugzilla·2026-06-17
CVE-2026-9697 [HIGH] CVE-2026-9697 undici: undici: Man-in-the-Middle attack via ignored TLS options with SOCKS5 proxy
CVE-2026-9697 undici: undici: Man-in-the-Middle attack via ignored TLS options with SOCKS5 proxy
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 Prox
Bugzilla
CVE-2026-9697 nodejs20: undici: Man-in-the-Middle attack via ignored TLS options with SOCKS5 proxy [fedora-all]
bugzilla·2026-06-17
CVE-2026-9697 [HIGH] CVE-2026-9697 nodejs20: undici: Man-in-the-Middle attack via ignored TLS options with SOCKS5 proxy [fedora-all]
CVE-2026-9697 nodejs20: undici: Man-in-the-Middle attack via ignored TLS options with SOCKS5 proxy [fedora-all]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
https://cna.openjsf.org/security-advisories.htmlhttps://github.com/nodejs/undici/security/advisories/GHSA-vmh5-mc38-953ghttps://access.redhat.com/errata/RHSA-2026:22380https://access.redhat.com/errata/RHSA-2026:22934https://access.redhat.com/errata/RHSA-2026:7378https://access.redhat.com/security/cve/CVE-2026-9697https://bugzilla.redhat.com/show_bug.cgi?id=2490018https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-9697.json
2026-06-17
Published