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

CVE-2026-123871
MEDIUM 6.2

En bref

Source
NVD
EPSS
EPSS 0.22 % · centile 13 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
openjs
Produits affectés
nodejs · node
Statut NVD
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.

Faiblesses (CWE)

  • CWE-209 — Message d'erreur contenant des informations sensibles

Crédits

  • p-v-p signalement
  • mcollina développement du correctif
  • Trott relecture du correctif
  • UlisesGascon relecture du correctif
  • joyeecheung relecture du correctif
  • aduh95 coordination

Références

Scores

VersionScoreVecteurÉvalué par
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)

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions affectées
nodejs · node
affectée : ≥ 0.0.0 < 22.23.5
affectée : ≥ 23.0.0 < 24.22.3
affectée : ≥ 25.0.0 < 26.13.1
Autres versions : non affectée

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