Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| vitejs | launch-editor | < 2.9.0 | — |
| vitejs | vite | < 5.4.9 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
HORKimhab/CVE-2024-52011 ★ 0 · Jun 9, 2026
CVE-2024-52011 - Draft
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | launch-editor | < 2.9.0 | 2.9.0 | GHSA-c27g-q93r-2cwf |
| npm | vite | < 5.4.9 | 5.4.9 | GHSA-c27g-q93r-2cwf |