Home › CVE › JavaScript
CVE-2026-123871 — nodejs node
One of 15 nodejs node vulnerabilities published together by NVD: our article covers all of them.
JavaScriptWebCloud & containersVulnerabilitiesLaw enforcementSummary
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.
Severity breakdown
Medium · 6.2
An attacker without an account can exploit this with local access, without any user action.
- Attack from
- local access (a logged-in user, or a malicious file opened on the device)
- Attack complexity
- low (no special conditions)
- Login needed
- no
- User action needed
- no
- Scope
- stays within the vulnerable component
- Impact
- high on confidentiality, none on integrity and availability
Weakness
- CWE-209: Generation of Error Message Containing Sensitive Information
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| nodejs node | ≥ 0.0.0, < 22.23.5 | 22.23.5 |
| ≥ 23.0.0, < 24.22.3 | 24.22.3 | |
| ≥ 25.0.0, < 26.13.1 | 26.13.1 |
References by type
Other references
Affected
- nodejs node
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-123871?
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… Weakness type: Generation of Error Message Containing Sensitive Information (CWE-209).
How severe is CVE-2026-123871?
CVE-2026-123871 has a CVSS 3.0 base score of 6.2 (medium), from the CNA. An attacker without an account can exploit this with local access, without any user action.
Is CVE-2026-123871 being exploited?
Not as far as is known: CVE-2026-123871 is not in CISA's Known Exploited Vulnerabilities catalog as of November 28, 2026. EPSS estimates a 0.2% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-123871?
nodejs node ≥ 0.0.0, < 22.23.5 (fixed in 22.23.5); nodejs node ≥ 23.0.0, < 24.22.3 (fixed in 24.22.3); nodejs node ≥ 25.0.0, < 26.13.1 (fixed in 26.13.1).
How do I fix CVE-2026-123871?
Update to a fixed release: nodejs node 22.23.5; nodejs node 24.22.3; nodejs node 26.13.1.
Timeline & sources
References
Related vulnerabilities & news
- GHSA-c4hm-4h84-2cf3 / CVE-2026-59726 — ruflo MCP bridge allows unauthenticated remote code execution in default Docker Compose deployments
- Adobe Experience Manager XSS Vulnerability Enables Stored Script Injection
- Adobe Experience Manager XSS Vulnerability CVE-2026-119579
- Unblu Spark Cross-site Scripting Vulnerability in File Sharing Feature
- Optimizely Web Experimentation Allows Attacker-Controlled Code Injection