PT-2026-169027
CVE-2026-139849
·
Published
2026-12-05
·
Updated
2026-12-05
Description by
CVSS 3.1
7.4
HighMetricsAV: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 6.14.0 through 6.29.1
undici versions 7.0.0 through 7.30.3
undici versions 8.0.0 through 8.14.0
Description
EnvHttpProxyAgent incorrectly handles target TLS options when selecting routes based on
HTTP PROXY, HTTPS PROXY, and NO PROXY environment variables. Specifically, options provided via requestTls are ignored during direct requests, and options provided via connect are ignored during proxied requests. This causes the TLS connection to the target to bypass application-specific settings such as ca, checkServerIdentity, servername, client certificates, or rejectUnauthorized, falling back to the default trust store and hostname check. This inconsistency allows an attacker with a publicly trusted certificate for the target host to intercept connections that the application intended to pin or restrict to a private CA.Recommendations
Update to version 6.29.2 or later.
Update to version 7.30.4 or later.
Update to version 8.14.1 or later.
As a temporary workaround, provide the same target TLS options to both
requestTls and connect parameters.
As a temporary workaround, use Agent or ProxyAgent explicitly instead of EnvHttpProxyAgent.Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾