Node.js is vulnerable to proxy credential disclosure via ERR_PROXY_INVALID_CONFIG error messages (nodejs node)

CVE-2026-123871
MEDIUM 6.2

At a glance

Source
NVD
EPSS
EPSS 0.22 % · percentile 13 ()
State
PUBLISHED
Published
Updated
Assigner
openjs
Affected products
nodejs · node
NVD status
Awaiting Analysis

Description

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.

Weaknesses (CWE)

  • CWE-209 — Generation of Error Message Containing Sensitive Information

Credits

  • p-v-p reporter
  • mcollina remediation developer
  • Trott remediation reviewer
  • UlisesGascon remediation reviewer
  • joyeecheung remediation reviewer
  • aduh95 coordinator

References

Scores

VersionScoreVectorScored by
CVSS 3.0MEDIUM 6.2CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:Nopenjs
CVSS 3.0MEDIUM 6.2CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NNVD · ce714d77-add3-4f53-aff5-83d477b104bb (Secondary)

European references

CERT-FR advisories

Affected products

ProductAffected versions
nodejs · node
affected : ≥ 0.0.0 < 22.23.5
affected : ≥ 23.0.0 < 24.22.3
affected : ≥ 25.0.0 < 26.13.1
Other versions : unaffected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD