CVE-2026-144348: undici Insufficiently Protected Credentials
Published 2026-12-05 · Updated 2026-12-05 · Source ce714d77-add3-4f53-aff5-83d477b104bb
Not known to be exploited · low severity — apply the vendor fix or mitigation when convenient.
What to do
- The advisory lists versions through 6.29.1 as affected and does not name a fixed release. Check the references below for a newer version of undici or a vendor mitigation.
- Until it is patched, do not leave undici reachable from the internet or other untrusted networks; restrict access by firewall, VPN or allow-list.
- Rotate the affected credentials and restrict access to where they are stored.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| undici | ≤ 6.29.1 | Not stated in the advisory |
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
It can be exploited remotely over the network; the attacker does not need an account, and no action by a victim is required. Attack complexity is high, so exploitation depends on conditions the attacker does not control. The impact is limited: confidentiality is rated low.
| Attack vector | Network | It can be exploited remotely over the network. |
|---|---|---|
| Attack complexity | High | Success depends on conditions outside the attacker's control. |
| Privileges required | None | The attacker does not need an account. |
| User interaction | None | No action by a victim is needed. |
| Confidentiality | Low | Partial loss of confidentiality. |
| Integrity | None | No effect on integrity. |
| Availability | None | No effect on availability. |
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness: Insufficiently Protected Credentials
Credentials are stored or sent in a way that lets an attacker recover them.
Classified as CWE-522.
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.
Advisory text as published in the NVD record.