CVE-2024-52011: vitejs launch-editor · Command Injection
Affects vitejs launch-editorSource CVE Database V5
Not known to be exploited · CVSS 7.5 High : upgrade to 2.9.0 soon.
Data as of 30 Oct 2026, 11:52 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 43% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.9.0, 5.4.9
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 1 Jun 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
Public exploit code: GitHub proofs of concept
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), GitHub proofs of concept, the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade launch-editor to 2.9.0; vite to 5.4.9.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| vitejslaunch-editor | Affected
| Fixed in
|
| vitejsvite | Affected
| Fixed in
|
npmlaunch-editorpkg:npm/launch-editorOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade launch-editor to version 2.9.0 or later, which contains the fix for this command injection vulnerability. This corresponds to vite version 5.4.9 or later. No other mitigations are specified by the vendor advisory. Patch status is confirmed fixed in version 2.9.0.
Description
### Summary 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. ### Impact If the following conditions are met, an attacker can execute arbitrary commands on the computer that is using the `launch-editor`: - An attacker can place a file with the malicious filename - An attacker can call the `launchEditor` method with the `file` argument controlled - The `launch-editor` package is running on Windows For example, some development server using this package satisfy these conditions, as a malicious website might be able to force the downloading of a file and the path of that file is predictable. ### Patch This issue has been fixed in the `launch-editor` version 2.9.0 ([commit](https://github.com/vitejs/launch-editor/commit/971291e8a6a91226e1616c5c0ec85423d2d50a5e)).
References
- github.com/vitejs/launch-editor/security/advisories/GHSA-c27g-q93r-2cwf (opens in a new tab)
- github.com/vitejs/launch-editor/commit/971291e8a6a91226e1616c5c0ec85423d2d50a5e (opens in a new tab)
- access.redhat.com/security/cve/CVE-2024-52011 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2483853 (opens in a new tab)
- security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-52011.json (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:34342 (opens in a new tab)