Live threats

All CVEs / vitejs

CVE-2024-52011vitejs launch-editor

High 7.5 No auth needed

Priority
60
CVSS 4.0
7.5
EPSS
0.6%
probability of exploitation in 30 days · percentile 44
Auth required
No
Published
Jun 1, 2026
Updated
Sep 4, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-77, CWE-88
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for launch-editor.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm launch-editor < 2.9.0 2.9.0 npm install launch-editor@2.9.0
npm vite < 5.4.9 5.4.9 npm install vite@5.4.9

Per OSV / GitHub Advisories (GHSA-c27g-q93r-2cwf). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.