RCE in Vitejs Launch-Editor
CVE-2024-52011
launch-editor allows users to open files with line numbers in editor from Node.js. Prior to version 2.9.0, due to the insufficient sanitization of the `file` argument in the `launchEditor`, an attacker can execute arbitrary commands on Windows by supplying a filename that contains special characters. This issue has been fixed in the `launch-editor` version 2.9.0, corresponding to vite version 5.4.9.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.3 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L.
EPSS exploit prediction
EPSS: 0.005 (42.5th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 43rd percentile — 42.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.005 · change: 0.000
Affected products
- Vitejs Launch-Editor — versions < 2.9.0
- Vitejs Vite — versions < 5.4.9
Weakness classification (CWE)
Public proof-of-concept exploits
References
Frequently asked questions
- What is CVE-2024-52011?
- CVE-2024-52011 is a high-severity vulnerability in Vitejs Launch-Editor, classified under Command Injection. CVSS score: 8.3/10. Published 2026-06-01.
- How severe is CVE-2024-52011?
- High severity. CVSS v3 base score is 8.3 out of 10.
- Is CVE-2024-52011 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.