undici is an HTTP client for Node.js. In versions 5.16.0 through 6.29.1, 7.0.0 through 7.30.3, and 8.0.0 through 8.14.0, ProxyAgent adds the proxy credentials (from the auth or token options, or the…
- CVSS
- 3.7Low
- Chance of exploitation (EPSS)
- —
- Published
- Dec 5, 2026
- In the news
- Not yet
What to do
A minor security flaw in Undici that can be attacked over the network without logging in. No attacks are reported yet; it can go in your normal patch cycle.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Fixed in: 6.29.2, 7.30.4, 8.14.1
Affected versions
- Undici
- 5.16.0 to before 6.29.2; 7.0.0 to before 7.30.4; 8.0.0 to before 8.14.1
Description
undici is an HTTP client for Node.js. In versions 5.16.0 through 6.29.1, 7.0.0 through 7.30.3, and 8.0.0 through 8.14.0, ProxyAgent adds the proxy credentials (from the auth or token options, or the username and password in the proxy URL) as a proxy-authorization entry directly on the headers object passed in its options instead of on a copy, so every other agent holding that same object sends those credentials to its own proxy. EnvHttpProxyAgent, available since 6.14.0, passes the same headers object to the agents it creates for HTTP_PROXY and HTTPS_PROXY, so when an application sets the headers option and the two variables name different proxies, one proxy receives the credentials meant for the other. The same happens when an application reuses one headers object across several ProxyAgent instances, letting the operator of one proxy capture credentials intended for another. Applications that do not set the headers option are not affected. The issue is fixed in undici 6.29.2, 7.30.4, and 8.14.1, and users should upgrade to one of those versions or later. As a workaround, give each ProxyAgent its own headers object, and with EnvHttpProxyAgent avoid the headers option when HTTP_PROXY and HTTPS_PROXY name different proxies and either one carries credentials.
Affected products
Get alerts for these →Timeline 1
Latest change: CVE-2026-144348 published (CVSS 3.7) (Dec 5, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Yesterday
- CVECVE-2026-144348 published (CVSS 3.7)CVE Program · 10:17 UTC
References 2
- cna.openjsf.org /security-advisories.html
- github.com /nodejs/undici/security/advisories/GHSA-qfv9-2fjm-5p4m