Skip to main content
VulnerabilityPublished Updated

CVE-2024-52011: vitejs launch-editor · Command Injection

Affects vitejs launch-editorSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 7.5 High : upgrade to 2.9.0 soon.

Data as of 30 Oct 2026, 11:52 UTC

CVSS 4.0 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 1 Jun 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    Public exploit code: GitHub proofs of concept

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
vitejslaunch-editorAffected
  • <2.9.0
Fixed in
  • 2.9.0
vitejsviteAffected
  • <5.4.9
Fixed in
  • 5.4.9
npmlaunch-editorpkg:npm/launch-editorOther threatsAffected
  • <2.9.0
Fixed in
  • 2.9.0

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

Community reviews

Loading reviews…