Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-52011

HIGH 7.5EPSS 44%

launch-editor vulnerable to command injection via the crafted request on Windows

Also known as GHSA-c27g-q93r-2cwf

Mitigation

  • Upgrade launch-editor to 2.9.0 or later.
  • Upgrade vite to 5.4.9 or later.

Who should check

  • Projects that depend on npm package launch-editor (< 2.9.0)
  • Projects that depend on npm package vite (< 5.4.9)
  • Anyone running vitejs launch-editor < 2.9.0
  • Anyone running vitejs vite < 5.4.9

Vulnerability facts

Affected
launch-editor < 2.9.0; vite < 5.4.9
Fixed in
2.9.0, 5.4.9
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
7.5 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Attack requirements: Present
  • Privileges required: None
  • User interaction: Active
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
  • Confidentiality impact on other systems: None
  • Integrity impact on other systems: None
  • Availability impact on other systems: None
EPSS
0.62% chance of exploitation in 30 days (percentile 44, 2026-11-26)
CWE
CWE-77
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
npm launch-editor< 2.9.02.9.0osv
npm vite< 5.4.95.4.9osv
vitejs launch-editor< 2.9.0—cvelist
vitejs vite< 5.4.9—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-52011. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-52011.md
Affected: launch-editor < 2.9.0; vite < 5.4.9
Fixed in: 2.9.0, 5.4.9

Steps:
1. Search this machine and project for launch-editor (npm), vite (npm), vitejs launch-editor, vitejs vite: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-52011 being exploited?

There is no confirmed exploitation: CVE-2024-52011 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.62% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-52011?

High: CVSS 7.5 (v4.0, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

Which versions are affected by CVE-2024-52011?

launch-editor < 2.9.0; vite < 5.4.9.

Is there a fix for CVE-2024-52011?

Yes. Fixed in 2.9.0, 5.4.9. Upgrade launch-editor to 2.9.0 or later. Upgrade vite to 5.4.9 or later.

How do I check if I'm affected by CVE-2024-52011?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors