CVE-2026-9697 Impact: undici's ProxyAgent silently drops the requestTls option when configured with a SOCKS5 proxy URI (socks5:// or…
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 products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| undici 8.5 | earliest → < 8.5.0 | 8.5.0 |
| undici 8.0 | 8.0.0 → < 8.5.0 | 8.5.0 |
| undici 7.28 | earliest → < 7.28.0 | 7.28.0 |
| undici 7.23 | 7.23.0 → < 7.28.0 | 7.28.0 |
| Red Hat Hardened Images 25.9 | earliest → < 25.9.0-1.1.hum1 | 25.9.0-1.1.hum1 |
| Cryostat 4 | Versions not published | |
| OpenShift Pipelines | Versions not published | |
| Red Hat Build of Podman Desktop | Versions not published | |
| Red Hat Developer Hub | Versions not published |
Show the 24 other branches Hide the 24 other branches
| Product | Affected versions | Fixed in |
|---|---|---|
| Red Hat Enterprise Linux 10 | Versions not published | |
| Red Hat Enterprise Linux 8 | Versions not published | |
| Red Hat Enterprise Linux 9 | Versions not published | |
| Red Hat OpenShift AI (RHOAI) | Versions not published | |
| Red Hat OpenShift Container Platform 4 | Versions not published | |
| Red Hat Openshift Data Foundation 4 | Versions not published | |
| Red Hat OpenShift Dev Spaces | Versions not published | |
| Self-service automation portal 2 | Versions not published | |
| Red Hat AMQ Broker 7 | Versions not published | |
| Cluster Observability Operator 1.5.0 1782839494 | earliest → < 1782839494 | 1782839494 |
| Red Hat Enterprise Linux AppStream (v. 10) | Versions not published | |
| Red Hat Enterprise Linux AppStream (v. 9) | Versions not published | |
| Red Hat Developer Hub 1.10 1783448184 | earliest → < 1783448184 | 1783448184 |
| Red Hat OpenShift Dev Spaces 3.29 1785245777 | earliest → < 1785245777 | 1785245777 |
| Red Hat OpenShift Container Platform 4.16 1783306396 | earliest → < 1783306396 | 1783306396 |
| Red Hat Developer Hub 1.9 1784210921 | earliest → < 1784210921 | 1784210921 |
| Cryostat 4 on RHEL 9 4.2 | earliest → < 4.2.0-13 | 4.2.0-13 |
| Red Hat OpenShift Container Platform 4.17 1784744859 | earliest → < 1784744859 | 1784744859 |
| Red Hat OpenShift AI 3.4 1787121387 | earliest → < 1787121387 | 1787121387 |
| Red Hat Openshift Data Foundation 4.18 1786706880 | earliest → < 1786706880 | 1786706880 |
| Red Hat Openshift Data Foundation 4.19 1786703143 | earliest → < 1786703143 | 1786703143 |
| Red Hat Openshift Data Foundation 4.2 1786629548 | earliest → < 1786629548 | 1786629548 |
| Red Hat OpenShift AI 2.25 1787801527 | earliest → < 1787801527 | 1787801527 |
| Red Hat Openshift Data Foundation 4.20 1786629548 | earliest → < 1786629548 | 1786629548 |
References
- github.com github.com
- cna.openjsf.org cna.openjsf.org
Timeline
- Published
- Last modified