BIT-node-2026-123871: Node.js is vulnerable to proxy credential disclosure via ERR_PROXY_INVALID_CONFIG error messages

Published Nov 27, 2026
·
Updated

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

6 affected componentsFixes available
bitnami/node<22.23.5
22.23.5
bitnami/node>=23.0.0<24.22.3
24.22.3
bitnami/node>=25.0.0<26.13.1
26.13.1
bitnami/node-min<22.23.5
22.23.5
bitnami/node-min>=23.0.0<24.22.3
24.22.3
bitnami/node-min>=25.0.0<26.13.1
26.13.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade bitnami/node to a version that resolves this vulnerability.

    Fixed in 22.23.5
  2. Upgrade

    Upgrade bitnami/node to a version that resolves this vulnerability.

    Fixed in 24.22.3
  3. Upgrade

    Upgrade bitnami/node to a version that resolves this vulnerability.

    Fixed in 26.13.1
  4. Upgrade

    Upgrade bitnami/node-min to a version that resolves this vulnerability.

    Fixed in 22.23.5
  5. Upgrade

    Upgrade bitnami/node-min to a version that resolves this vulnerability.

    Fixed in 24.22.3
  6. Upgrade

    Upgrade bitnami/node-min to a version that resolves this vulnerability.

    Fixed in 26.13.1

Event History

Nov 27, 2026
Advisory Published
via OSV·05:50 AM
Data Sourced
via OSV·05:50 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203