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 package | Versions | Reported by |
|---|---|---|
| undici undici | from 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-rhel9 | Not specified Not affected: from 4.2.0-13 before * | CVE List |
| nodejs24 | Not specified Not affected: from 1:24.18.0-1.el10_2 before * | CVE List |
| nodejs:24 | Not specified Not affected: from 8100020260630152626.6d880403 before *, from 9080020260626074955.rhel9 before * | CVE List |
| cluster-observability-operator/distributed-tracing-console-plugin-pf4-rhel9 | Not specified Not affected: from 1782840519 before * | CVE List |
| cluster-observability-operator/distributed-tracing-console-plugin-pf5-rhel9 | Not specified Not affected: from 1782839981 before * | CVE List |
| cluster-observability-operator/distributed-tracing-console-plugin-pf6-rhel9 | Not specified Not affected: from 1782839193 before * | CVE List |
| cluster-observability-operator/distributed-tracing-console-plugin-rhel9 | Not specified Not affected: from 1782838753 before * | CVE List |
| cluster-observability-operator/logging-console-plugin-rhel9 | Not specified Not affected: from 1782841925 before * | CVE List |
| cluster-observability-operator/monitoring-console-plugin-pf5-rhel9 | Not specified Not affected: from 1782844225 before * | CVE List |
| cluster-observability-operator/monitoring-console-plugin-pf6-rhel9 | Not specified Not affected: from 1782839658 before * | CVE List |
| cluster-observability-operator/monitoring-console-plugin-rhel9 | Not specified Not affected: from 1782838476 before * | CVE List |
| cluster-observability-operator/troubleshooting-panel-console-plugin-rhel9 | Not specified Not affected: from 1782839494 before * | CVE List |
| rhdh/rhdh-hub-rhel9 | Not specified Not affected: from 1783448184 before *, from 1784210921 before * | CVE List |
| nodejs26-main | Not specified Not affected: from 26.3.0-1.2.hum1 before * | CVE List |
| rust-main | Not specified Not affected: from 1.96.0-1.hum1 before * | CVE List |
| nodejs24-main | Not specified Not affected: from 24.18.0-0.3.hum1 before * | CVE List |
| nodejs25-main | Not specified Not affected: from 25.9.0-1.1.hum1 before * | CVE List |
| rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9 | Not specified Not affected: from 1787801527 before *, from 1787121387 before * | CVE List |
| openshift4/ose-monitoring-plugin-rhel9 | Not specified Not affected: from 1783306396 before *, from 1784744859 before * | CVE List |
| odf4/cephcsi-rhel9 | Not specified Not affected: from 1786705347 before *, from 1786701839 before *, from 1786627460 before * | CVE List |
| odf4/cephcsi-rhel9-operator | Not specified Not affected: from 1786706101 before *, from 1786701555 before *, from 1786626399 before * | CVE List |
| odf4/mcg-core-rhel9 | Not specified Not affected: from 1786705558 before *, from 1786702052 before *, from 1786628235 before * | CVE List |
| odf4/mcg-rhel9-operator | Not specified Not affected: from 1786705646 before *, from 1786702559 before *, from 1786627106 before * | CVE List |
| odf4/ocs-client-console-rhel9 | Not specified Not affected: from 1786706138 before *, from 1786702713 before *, from 1786629761 before * | CVE List |
| odf4/ocs-client-rhel9-operator | Not specified Not affected: from 1786705741 before *, from 1786702264 before *, from 1786627559 before * | CVE List |
| odf4/ocs-metrics-exporter-rhel9 | Not specified Not affected: from 1786705777 before *, from 1786702448 before *, from 1786687918 before * | CVE List |
| odf4/ocs-rhel9-operator | Not specified Not affected: from 1786705802 before *, from 1786702276 before *, from 1786629478 before * | CVE List |
| odf4/odf-cli-rhel9 | Not specified Not affected: from 1786705938 before *, from 1786702440 before *, from 1786628142 before * | CVE List |
| odf4/odf-console-rhel9 | Not specified Not affected: from 1786706577 before *, from 1786703071 before *, from 1786628053 before * | CVE List |
| odf4/odf-cosi-sidecar-rhel9 | Not specified Not affected: from 1786706125 before *, from 1786702563 before *, from 1786627382 before * | CVE List |
| odf4/odf-csi-addons-rhel9-operator | Not specified Not affected: from 1786706177 before *, from 1786702636 before *, from 1786627430 before * | CVE List |
| odf4/odf-csi-addons-sidecar-rhel9 | Not specified Not affected: from 1786706188 before *, from 1786702623 before *, from 1786629076 before * | CVE List |
| odf4/odf-multicluster-console-rhel9 | Not specified Not affected: from 1786706679 before *, from 1786703137 before *, from 1786688215 before * | CVE List |
| odf4/odf-multicluster-rhel9-operator | Not specified Not affected: from 1786706357 before *, from 1786702716 before *, from 1786628340 before * | CVE List |
| odf4/odf-must-gather-rhel9 | Not specified Not affected: from 1786706612 before *, from 1786702872 before *, from 1786628623 before * | CVE List |
| odf4/odf-rhel9-operator | Not specified Not affected: from 1786706644 before *, from 1786702949 before *, from 1786632256 before * | CVE List |
| odf4/odr-rhel9-operator | Not specified Not affected: from 1786706659 before *, from 1786702917 before *, from 1786628935 before * | CVE List |
| odf4/rook-ceph-rhel9-operator | Not specified Not affected: from 1786706880 before *, from 1786703143 before *, from 1786629548 before * | CVE List |
| odf4/odf-cloudnative-pg-rhel9-operator | Not specified Not affected: from 1786702315 before *, from 1786631508 before * | CVE List |
| odf4/odf-external-snapshotter-rhel9-operator | Not specified Not affected: from 1786627469 before * | CVE List |
| odf4/odf-external-snapshotter-sidecar-rhel9 | Not specified Not affected: from 1786644072 before * | CVE List |
| devspaces/dashboard-rhel9 | Not specified Not affected: from 1782498792 before * | CVE List |
| devspaces/openvsx-rhel9 | Not specified Not affected: from 1783007534 before * | CVE List |
| devspaces/pluginregistry-rhel9 | Not specified Not affected: from 1782989367 before * | CVE List |
| devspaces/code-rhel9 | Not specified Not affected: from 1785245777 before * | CVE List |
| cryostat-openshift-console-plugin-npm | Not specified | CVE List |
| grafana-infinity-datasource-npm | Not specified | CVE List |
| openshift-pipelines/pipelines-console-plugin-pf5-rhel9 | Not specified | CVE List |
| openshift-pipelines/pipelines-console-plugin-rhel8 | Not specified | CVE List |
| openshift-pipelines/pipelines-console-plugin-rhel9 | Not specified | CVE List |
| undici | Not specified | CVE List |
| rh-podman-desktop.git | Not specified | CVE List |
| nodejs22 | Not specified | CVE List |
| nodejs:22/nodejs | Not specified | CVE List |
| rhoai/odh-dashboard-rhel9 | Not specified | CVE List |
| rhoai/odh-mod-arch-automl-rhel9 | Not specified | CVE List |
| rhoai/odh-mod-arch-autorag-rhel9 | Not specified | CVE List |
| rhoai/odh-mod-arch-eval-hub-rhel9 | Not specified | CVE List |
| rhoai/odh-mod-arch-gen-ai-rhel9 | Not specified | CVE List |
| rhoai/odh-mod-arch-maas-rhel9 | Not specified | CVE List |
| rhoai/odh-mod-arch-mlflow-rhel9 | Not specified | CVE List |
| rhoai/odh-mod-arch-model-registry-rhel9 | Not specified | CVE List |
| openshift4/ose-agent-installer-ui-rhel9 | Not specified | CVE List |
| openshift4/ose-console-rhel9 | Not specified | CVE List |
| ansible-automation-platform/automation-portal | Not specified | CVE List |
| ansible-automation-platform/bootc-automation-portal-rhel9 | Not specified | CVE List |
| undici (npm) | from 7.23.0 before 7.28.0, from 8.0.0 before 8.5.0 | GitHub Advisory Database |
| nodejs undici | from 7.23.0 before 7.28.0, from 8.0.0 before 8.5.0 | NVD |
All scores
| openjs | 7.4high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
| redhat-SADP | 7.4high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
| GitHub | 7.4high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
Classification
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
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-9697 changed 2026-09-10 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-vmh5-mc38-953g changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2026-9697 changed 2026-09-10 | Public domain |