CVE-2026-123871: Node.js Proxy Credential Disclosure in Invalid Configuration Errors
CVE-2026-123871 is an information-disclosure vulnerability in the Node.js proxy configuration subsystem affecting the 22.x, 24.x, and 26.x release lines. Four error paths interpolate an unredacted, environment-supplied proxy URL, including its username and password, into ERR_PROXY_INVALID_CONFIG messages. These paths include one in the same constructor involved in the earlier CVE-2026-48615 fix, which redacted credentials from ProxyConfig.href but did not cover all error-message construction. The resulting errors can expose proxy credentials through diagnostic output, logs, and crash reports.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Proxy usernames and passwords can escape the process-environment security boundary and become accessible to readers of stderr, container logs, centralized log aggregation, or crash reporting services. This compromises credential confidentiality and may permit unauthorized use of the proxy if the disclosed credentials remain valid and the proxy is accessible. Code execution or availability impact is not established for this vulnerability.
Mitigation
If you can’t patch tonight, do this now.
Until patched, validate proxy configuration before deployment to avoid the affected invalid-configuration paths. Sanitize proxy credentials from error messages before forwarding them to logs or crash reporting services, and restrict access to diagnostic output. Review existing logs and crash reports for credential exposure and remove exposed secrets where feasible. These measures reduce exposure but do not correct the Node.js defect.
Remediation
Patch, then assume compromise.
Upgrade to Node.js 22.23.5, 24.22.3, or 26.13.1, or a later security-supported release in the corresponding branch. These releases redact proxy credentials from invalid proxy URL errors. For distribution-managed installations, apply the corresponding vendor security update; rebuild container images and redeploy applications using the patched runtime. Rotate proxy credentials if they may already have appeared in diagnostic output.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Frequently asked questions
- Is CVE-2026-123871 exploited in the wild?
- As of Nov 27, 2026, Mallory has no reports of CVE-2026-123871 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-123871?
- As of Nov 27, 2026, Mallory has found no public exploit for CVE-2026-123871.
- Is there a patch for CVE-2026-123871?
- Upgrade to Node.js 22.23.5, 24.22.3, or 26.13.1, or a later security-supported release in the corresponding branch. These releases redact proxy credentials from invalid proxy URL errors.
- How severe is CVE-2026-123871?
- CVE-2026-123871 has a CVSS v3 score of 6.2 (Medium) and an EPSS score of 0.22% (7th percentile) as of Nov 27, 2026.
Recent activity
28 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.