CVE-2024-52011: Vite · launch-editor vulnerable to command injection via the crafted request on Windows
Affects viteSource GCVE Database
Not known to be exploited · CVSS 7.5 High : upgrade to 5.4.9 soon.
Data as of 13 Nov 2026, 21:05 UTC
- Patch
- Available – fixed in 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: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
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), the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.
What to do
Upgrade vite to 5.4.9.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewvitepkg:brew/viteOther 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 the launch-editor package to version 5.4.9 or later, where the vulnerability has been fixed. Applying this official fix eliminates the command injection risk. No additional mitigation steps are indicated by the vendor advisory.
Description
Vite's launch-editor package on Windows is vulnerable to command injection due to insufficient sanitization of the file argument. An attacker who can control the filename and invoke the launchEditor method may execute arbitrary commands. This affects versions from 2.5.1 up to but not including 5.4.9. The issue has been fixed in version 5.4.9.
References
- github.com/vitejs/launch-editor/security/advisories/GHSA-c27g-q93r-2cwf (opens in a new tab)
- github.com/yyx990803/launch-editor/security/advisories/GHSA-c27g-q93r-2cwf (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2024-52011 (opens in a new tab)
- github.com/vitejs/launch-editor/commit/971291e8a6a91226e1616c5c0ec85423d2d50a5e (opens in a new tab)
- github.com/vitejs/launch-editor (opens in a new tab)