1. Accueil
  2. Vulnérabilités
  3. CVE-2026-137198

CVE-2026-137198

cross-spawn: Argument injection on Windows via backslashes before a double quote

Publiée le 30 nov. 2026 · modifiée le 1 déc. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Moyen 48/100

Résumé

cross-spawn is a cross-platform solution for Node.js spawn and spawnSync. From 6.0.6 until 6.0.7 and from 7.0.4 until 7.1.0, Windows applications that pass untrusted arguments to commands routed through cmd.exe can be vulnerable because cross-spawn did not correctly double runs of backslashes before a double quote or at the end of an argument. Two or more backslashes could escape the argument's closing quote, allowing attacker-controlled text to become extra arguments or consume following arguments. The caller may not detect the injection when the target accepts the resulting arguments and exits successfully, while a target that rejects an unexpected argument can fail instead. The affected command class includes npm cmd-shims in node_modules/.bin. This can change a target program's operation, although it does not by itself execute a second command and does not affect other platforms. This issue is fixed in versions 6.0.7 and 7.1.0.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

moxystudio (1 ligne(s))
moxystudio
ProduitVersionsCorrigé dansSource
node-cross-spawn Versions non précisées — CNA (éditeur ou attributeur)
npm (2 ligne(s))
npm
ProduitVersionsCorrigé dansSource
cross-spawn de 7.0.4 (inclus) à 7.1.0 (exclu) 7.1.0 GitHub Advisory
cross-spawn de 6.0.6 (inclus) à 6.0.7 (exclu) 6.0.7 GitHub Advisory

Correctif

Mise à jour — npm/cross-spawn 7.1.0; npm/cross-spawn 6.0.7source officielle

Source : GitHub Advisory

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R: (CVSS 4.0, CNA:security-advisories@github.com)
Faiblesse
CWE-88 · Autre (CWE-88)

Comment sont obtenues et calculées ces données