cve.bz

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

6.2 mediumEPSS 0.2%

Medium (6.2) in nodejs node. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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

CVSS 3.0

6.2 medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
0.2% estimated probability of exploitation activity in the next 30 days; 5th percentile. Scored 2026-11-13. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-209 Generation of Error Message Containing Sensitive Information
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
Assigned by
openjs (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2026-123871 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-123871?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-123871?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-123871 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-123871

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-123871](https://cve.bz/cve/badge/CVE-2026-123871.svg)](https://cve.bz/cve/CVE-2026-123871)

HTML:

<a href="https://cve.bz/cve/CVE-2026-123871"><img src="https://cve.bz/cve/badge/CVE-2026-123871.svg" alt="CVE-2026-123871"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
nodejs nodefrom 0.0.0 before 22.23.5
nodejs nodefrom 23.0.0 before 24.22.3
nodejs nodefrom 25.0.0 before 26.13.1

Fix and patched versions

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14nodejsno fix listedDEBIAN-CVE-2026-123871
Ubuntu24.04:LTS, 26.04:LTS, 26.10 and 5 morenodejsno fix listedUBUNTU-CVE-2026-123871
Red Hathummingbird:1nodejs22, nodejs22-bin, nodejs22-docs and 4 more1:22.23.5-2.3.2.3.1.hum1RHSA-2026:99433
Red Hathummingbird:1nodejs22-npm1:10.9.9-1.22.23.5.2.3.2.3.1.hum1RHSA-2026:99433
Red Hathummingbird:1nodejs24, nodejs24-bin, nodejs24-docs and 3 more1:24.22.3-0.1.hum1RHSA-2026:99435
Red Hathummingbird:1nodejs24-npm2:11.19.1-1.24.22.3.0.1.hum1RHSA-2026:99435
Red Hathummingbird:1nodejs24-npm-bin2:24.22.3-0.1.hum1RHSA-2026:99435
Red Hathummingbird:1nodejs26, nodejs26-bin, nodejs26-docs and 4 more1:26.13.1-0.1.hum1RHSA-2026:99436
Red Hathummingbird:1nodejs26-npm1:11.20.0-1.26.13.1.0.1.hum1RHSA-2026:99436
Alpinev3.21, v3.22nodejs22.23.5-r0ALPINE-CVE-2026-123871
Alpinev3.23, v3.24nodejs24.22.3-r0ALPINE-CVE-2026-123871
Alpinev3.24nodejs-current26.13.1-r0ALPINE-CVE-2026-123871
Alpaquitastreamnodejs2222.23.5-r0BELL-CVE-2026-123871
Alpaquitastreamnodejs2424.22.3-r0BELL-CVE-2026-123871
Alpaquitastreamnodejs2626.13.1-r0BELL-CVE-2026-123871
BellSoft Hardened Containersstreamnodejs2222.23.5-r0BELL-CVE-2026-123871
BellSoft Hardened Containersstreamnodejs2424.22.3-r0BELL-CVE-2026-123871
BellSoft Hardened Containersstreamnodejs2626.13.1-r0BELL-CVE-2026-123871

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated as Moderate impact because sensitive proxy authentication credentials may be exposed to unauthorized observers through application output channels, yet exploitation does not grant direct system compromise or remote code execution. In typical Red Hat Enterprise Linux and OpenShift container deployments, Node.js applications configured with erroneous proxy settings can print intact secrets into standard error streams, shared container logs, or log collectors. Exposure is limited to environments where proxy authentication is configured and specific configuration errors occur during proxy initialization.

Red Hat's mitigation

Avoid placing proxy credentials in the environment of long-lived services; prefer credential helpers or secret stores. Restrict access to logs that may capture ERR_PROXY_INVALID_CONFIG messages.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10nodejs22Fix deferred
Red Hat Enterprise Linux 10nodejs24Fix deferred
Red Hat Enterprise Linux 10nodejs26Fix deferred
Red Hat Enterprise Linux 8nodejs:22/nodejsFix deferred
Red Hat Enterprise Linux 8nodejs:24/nodejsFix deferred
Red Hat Enterprise Linux 9nodejs:22/nodejsFix deferred
Red Hat Enterprise Linux 9nodejs:24/nodejsFix deferred
Red Hat Enterprise Linux 9nodejs:26/nodejsFix deferred
Red Hat Hardened Imageshi/nodejsUnder investigation
Red Hat Hardened Imagesnodejs20Will not fix
Red Hat Hardened Imagesnodejs22Affected
Red Hat Hardened Imagesnodejs24Affected
Red Hat Hardened Imagesnodejs25Will not fix
Red Hat Hardened Imagesnodejs26Affected
Red Hat Hardened Imagesnpm12Under investigation

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-123871.

Attack patterns (CAPEC)

  • CAPEC-7 Blind SQL Injection Likelihood: High · Severity: High
  • CAPEC-54 Query System for Information Likelihood: High · Severity: Low
  • CAPEC-215 Fuzzing for application mapping Likelihood: High · Severity: Low
  • CAPEC-463 Padding Oracle Crypto Attack Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON