- Accueil
- Vulnérabilités
- CVE-2026-112942
CVE-2026-112942
launch-editor: `fs.existsSync()` existence check can be bypassed on Windows
Résumé
launch-editor allows users to open files with line numbers in editor from Node.js. Prior to 2.14.2, launch-editor-middleware processes an attacker-controlled Windows file argument where the file argument ends in a parent-directory component plus a line-and-column suffix: the path is resolved while the suffix is still present, and launch-editor removes the suffix before its existsSync check, leaving the existing parent directory for existsSync and allowing the attacker-controlled file argument to pass filename existence validation without requiring the malicious filename to exist. The bypass can lead to OS command injection when combined with the separately described Windows percent-expansion flaw. This issue is fixed in version 2.14.2.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Vitejs (3 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| launch-editor | Versions non précisées | — | CNA (éditeur ou attributeur) |
| Vite | Versions non précisées | — | CNA (éditeur ou attributeur) |
| vite-plus | Versions non précisées | — | CNA (éditeur ou attributeur) |
npm (7 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| launch-editor | avant 2.14.2 (exclu) |
2.14.2 |
GitHub Advisory |
| vite | de 8.3.0 (inclus) à 8.3.3 (exclu) |
8.3.3 |
GitHub Advisory |
| vite | de 8.2.0 (inclus) à 8.2.4 (exclu) |
8.2.4 |
GitHub Advisory |
| vite | de 8.0.0 (inclus) à 8.1.6 (exclu) |
8.1.6 |
GitHub Advisory |
| vite | de 7.0.0 (inclus) à 7.3.7 (exclu) |
7.3.7 |
GitHub Advisory |
| vite | avant 6.4.4 (exclu) |
6.4.4 |
GitHub Advisory |
| vite-plus | avant 1.1.0 (exclu) |
1.1.0 |
GitHub Advisory |
Correctif
Mise à jour — npm/launch-editor 2.14.2; npm/vite 8.3.3; npm/vite 8.2.4; npm/vite 8.1.6; npm/vite 7.3.7; npm/vite 6.4.4; npm/vite-plus 1.1.0source officielle
Source : GitHub Advisory
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
- — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1486)
Avis CERT-FR
- CERTFR-2026-AVI-1486 — Multiples vulnérabilités dans les produits VMware (09 novembre 2026) 9 nov. 2026
- GHSA-587h-7wmj-h5pm — launch-editor: `fs.existsSync()` existence check can be bypassed on Windows 20 oct. 2026
Références
- https://github.com/vitejs/launch-editor/security/advisories/GHSA-587h-7wmj-h5pmx_refsource_CONFIRM
- https://github.com/vitejs/launch-editor/commit/f13cd835d4b8e860b1d4d080ad8a490cc2463679x_refsource_MISC
- https://github.com/vitejs/launch-editor/releases/tag/v2.14.2x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-112942ADVISORY
- https://github.com/vitejs/launch-editorPACKAGE
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:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N(CVSS 4.0, CNA:GitHub_M)- Faiblesse
- CWE-77 · Injection de commandes / code