CVE-2026-112942vitejs launch-editor
High 7.5 No auth needed
Follow: this CVE · vitejs · vitejs launch-editor We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 4.0
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Oct 20, 2026
- Updated
- Oct 21, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-77
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
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/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:X/V:X/RE:X/U:X
What happens
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.
What to do
- Apply the vendor's security update for launch-editor.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | launch-editor |
< 2.14.2 |
2.14.2 |
npm install launch-editor@2.14.2 |
| npm | vite |
≥ 8.3.0 < 8.3.3 |
8.3.3 |
npm install vite@8.3.3 |
| npm | vite |
≥ 8.2.0 < 8.2.4 |
8.2.4 |
npm install vite@8.2.4 |
| npm | vite |
≥ 8.0.0 < 8.1.6 |
8.1.6 |
npm install vite@8.1.6 |
| npm | vite |
≥ 7.0.0 < 7.3.7 |
7.3.7 |
npm install vite@7.3.7 |
| npm | vite |
< 6.4.4 |
6.4.4 |
npm install vite@6.4.4 |
| npm | vite-plus |
< 1.1.0 |
1.1.0 |
npm install vite-plus@1.1.0 |
Per OSV / GitHub Advisories (GHSA-587h-7wmj-h5pm). Check the version in your lockfile before upgrading.
Affected products
- vitejs · launch-editor
- vitejs · vite
- vitejs · vite-plus
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.