CVE-2026-123871 Node.js is vulnerable to proxy credential disclosure via ERR_PROXY_INVALID_CONFIG error messages
Node.js error messages can leak proxy credentials to logs and crash reports, exposing secrets to anyone reading them.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Harmful if only installed
- No
- Needs a specific call
- No
- Fix
- Available
What is CVE-2026-123871?
CVE-2026-123871 is a medium-severity information disclosure vulnerability in nodejs node, published on 11 Nov 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Node.js discloses proxy credentials in ERR_PROXY_INVALID_CONFIG error messages. CVE-2026-48615 established that a proxy credential must not appear in a Node.js error message and redacted the username and password from ProxyConfig.href, but that fix missed four error paths in the same subsystem, one of them inside the same constructor, which interpolate the raw proxy URL, credentials included, into an ERR_PROXY_INVALID_CONFIG message. The proxy URL comes from the environment, but the defect is the sink: a secret that Node.js redacts everywhere else is emitted verbatim into a much wider audience than the process environment, such as stderr, container logs, log aggregation, and crash reporting services. This vulnerability affects Node.js 26.x, 24.x, and 22.x.
Weakness: CWE-209
Which versions are affected by CVE-2026-123871?
An affected version is exposed as installed. No special setting or call is needed.
How do I fix CVE-2026-123871?
No fix published yet.
Upgrade, and rotate any secrets that may have been exposed. More about Information disclosure.
Is CVE-2026-123871 being exploited?
There is no known exploitation of CVE-2026-123871 in the wild and no public exploit code.
Sources
Also known as ALPINE-CVE-2026-123871, BELL-CVE-2026-123871, DEBIAN-CVE-2026-123871, GHSA-8669-428h-mj7x, UBUNTU-CVE-2026-123871.