BIT-node-2026-123871: Node.js is vulnerable to proxy credential disclosure via ERR_PROXY_INVALID_CONFIG error messages
Node.js discloses proxy credentials in ERRPROXYINVALIDCONFIG 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 ERRPROXYINVALIDCONFIG 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
bitnami/nodeto a version that resolves this vulnerability.Fixed in 22.23.5 - Upgrade
Upgrade
bitnami/nodeto a version that resolves this vulnerability.Fixed in 24.22.3 - Upgrade
Upgrade
bitnami/nodeto a version that resolves this vulnerability.Fixed in 26.13.1 - Upgrade
Upgrade
bitnami/node-minto a version that resolves this vulnerability.Fixed in 22.23.5 - Upgrade
Upgrade
bitnami/node-minto a version that resolves this vulnerability.Fixed in 24.22.3 - Upgrade
Upgrade
bitnami/node-minto a version that resolves this vulnerability.Fixed in 26.13.1
Event History
Frequently Asked Questions
Who is exposed to this credential disclosure?
Deployments using affected Node.js 26.x, 24.x, or 22.x are exposed when proxy configuration containing credentials is supplied through the environment and Node.js reaches one of the invalid-configuration error paths. The disclosed value can then reach stderr, container logs, log aggregation systems, or crash-reporting services.
What must occur for credentials to be disclosed?
An invalid proxy configuration must cause Node.js to emit ERR_PROXY_INVALID_CONFIG. The vulnerable paths interpolate the raw proxy URL into the error message, including any username and password embedded in that URL.
How can I determine whether credentials may already have leaked?
Review stderr, container logs, centralized log stores, and crash-reporting records for ERR_PROXY_INVALID_CONFIG messages. Check whether logged proxy URLs include embedded username or password values.
What can be done if patching cannot happen immediately?
Avoid placing proxy credentials directly in proxy URLs supplied through environment variables, and prevent invalid proxy configurations from reaching the application. Restrict access to process output and the logging or crash-reporting systems that may retain ERR_PROXY_INVALID_CONFIG messages.