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.
Published: 2026-12-05
Score: 3.7 Low
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 05 Dec 2026 14:15:00 +0000

Type Values Removed Values Added
First Time appeared Undici
Undici undici
Vendors & Products Undici
Undici undici

Sat, 05 Dec 2026 09:45:00 +0000

Type Values Removed Values Added
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.
Title undici vulnerable to proxy credential disclosure via a shared ProxyAgent headers object
Weaknesses CWE-522
References
Metrics cvssV3_1

{'score': 3.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: openjs

Published:

Updated: 2026-12-05T09:36:22.421Z

Reserved: 2026-12-03T18:28:22.322Z

Link: CVE-2026-144348

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-12-05T10:17:35.340

Modified: 2026-12-05T10:17:35.480

Link: CVE-2026-144348

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-12-05T14:00:21Z

Weaknesses
  • CWE-522

    Insufficiently Protected Credentials