High severity · published Jun 1, 2026
CVE-2024-52011
launch-editor vulnerable to command injection via the crafted request on Windows
8.3
CVSS
0.5%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
Low
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 44% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
LA
launch-editor · vitejs
< 2.9.0 · source: vendor
VI
vite · vitejs
< 5.4.9 · source: vendor
CO
Cluster Observability Operator 1.5.0 · Red Hat
All versions, or not specified · source: CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-52011
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-52011
github.com
https://github.com/vitejs/launch-editor/commit/971291e8a6a91226e1616c5c0ec85423d2d50a5e
github.com
https://github.com/vitejs/launch-editor/security/advisories/GHSA-c27g-q93r-2cwf
access.redhat.com
https://access.redhat.com/errata/RHSA-2026:34342
access.redhat.com
https://access.redhat.com/security/cve/CVE-2024-52011
bugzilla.redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=2483853
security.access.redhat.com
https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-52011.json
More from launch-editor
7.5
CVE-2026-112942
launch-editor: `fs.existsSync()` existence check can be bypassed on Windows
6.3
CVE-2026-112944
launch-editor: Editor CLI flag misinterpretation causing arbitrary command execution for some editors
6.3
CVE-2026-112943
launch-editor: escapeCmdArgs() omits % escaping on Windows
5.5
CVE-2026-53632
NTLMv2 hash disclosure via UNC path handling on Windows
