Home / vitejs / launch-editor / CVE-2024-52011
CVE-2024-52011: is it exploited, and which versions of vitejs launch-editor are affected and fixed?
CVE-2024-52011 is a command injection vulnerability in vitejs launch-editor. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 08:38 UTC). Affected: launch-editor before 2.9.0 and vite before 5.4.9 (GitHub advisory GHSA-c27g-q93r-2cwf). Fixed in 2.9.0 and 5.4.9 (GitHub advisory GHSA-c27g-q93r-2cwf). Severity: High (7.5, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 08:38 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:10 UTC.
What is CVE-2024-52011?
launch-editor vulnerable to command injection via the crafted request on Windows
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.
From the CVE record by GitHub_M, last updated September 4, 2026, 12:04 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| vitejs | launch-editor | < 2.9.0 | |
| vitejs | vite | < 5.4.9 |
As the CVE record by GitHub_M states it, last updated September 4, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| 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 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated June 3, 2026. Summary: launch-editor vulnerable to command injection via the crafted request on Windows.
How severe is CVE-2024-52011?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 4.0 | 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 | GitHub_M |
| High 8.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L | redhat-SADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-52011 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: total (CISA ADP, June 2, 2026)
- EPSS
- 0.51% probability of exploitation activity in the next 30 days, percentile 45.3 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-77 Improper Neutralization of Special Elements used in a Command
Where are the vendor advisories and references?
- https://github.com/vitejs/launch-editor/security/advisories/GHSA-c27g-q93r-2cwf x_refsource_CONFIRM
- https://github.com/vitejs/launch-editor/commit/971291e8a6a91226e1616c5c0ec85423d2d50a5e x_refsource_MISC
- https://access.redhat.com/security/cve/CVE-2024-52011 vdb-entry, x_refsource_REDHAT
- RHBZ#2483853 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-52011.json x_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:34342 vendor-advisory, x_refsource_REDHAT
When was it published, and where is the official record?
- Reserved
- November 4, 2024
- Published
- June 1, 2026, 17:17 UTC
- CVE record updated
- September 4, 2026, 12:04 UTC by GitHub_M
- NVD
- Deferred, last modified September 4, 2026, 13:17 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:10 UTC; KEV December 3, 2026, 08:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect launch-editor?
- Oct 20, 2026CVE-2026-112944 vitejs launch-editor: argument injection
- Oct 20, 2026CVE-2026-112943 vitejs launch-editor: OS command injection
- Oct 20, 2026CVE-2026-112942 vitejs launch-editor: command injection
- Jun 22, 2026CVE-2026-53632 vitejs launch-editor: external Control of File Name or Path
Questions about CVE-2024-52011
Is CVE-2024-52011 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 08:38 UTC. FIRST's EPSS gives it a 0.51% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of vitejs launch-editor are affected by CVE-2024-52011?
launch-editor before 2.9.0 and vite before 5.4.9, per the GitHub advisory GHSA-c27g-q93r-2cwf. The tables above give every range the sources list.
Which version fixes CVE-2024-52011?
2.9.0 and 5.4.9, per the GitHub advisory GHSA-c27g-q93r-2cwf. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-52011?
High (7.5, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2024-52011?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.