PT-2026-50517 · Npm+1 · Undici+1

·

CVE-2026-9697

·

Published

2026-06-17

·

Updated

2026-07-20

CVSS v3.1

7.4

High

VectorAV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions undici versions 7.23.0 through 7.27.x undici versions 8.0.0 through 8.4.x
Description The ProxyAgent in undici silently drops the requestTls option when configured with a SOCKS5 proxy URI (socks5:// or socks://). This causes the target HTTPS connection through the SOCKS5 tunnel to fall back to the default Node.js trust store, ignoring user-defined settings such as ca, cert, key, rejectUnauthorized, and servername. Consequently, applications that rely on requestTls.ca to pin to an internal or corporate Certificate Authority (CA) will instead use the default Mozilla CA bundle. This allows any certificate signed by a publicly trusted CA for the target hostname to be accepted, enabling Man-in-the-Middle (MITM) attacks to read and tamper with the HTTPS exchange.
Recommendations Upgrade to version 7.28.0. Upgrade to version 8.5.0. Route traffic through an HTTP-proxy ProxyAgent instead of a SOCKS5 proxy to ensure requestTls is honored correctly.

Exploit

Fix

Improper Certificate Validation

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2026:35841
ALSA-2026:35891
ALSA-2026:39868
CVE-2026-9697
ECHO-B305-6C79-97EB
GHSA-VMH5-MC38-953G
RHSA-2026:22934
RHSA-2026:35841
RHSA-2026:35891
RHSA-2026:39868
RHSA-2026:7378

Affected Products

Rocky Linux
Undici