CVE-2024-52011vitejs launch-editor
High 7.5 No auth needed
Follow: this CVE · vitejs · vitejs launch-editor We alert you by email or Slack (account required).
- 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
- 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.
What to do
- Apply the vendor's security update for launch-editor.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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
- vitejs · launch-editor
- vitejs · vite
- Red Hat · Cluster Observability Operator 1.5.0
- Red Hat · Cryostat 4
- Red Hat · Migration Toolkit for Containers
- Red Hat · Node HealthCheck Operator
- Red Hat · OpenShift Lightspeed
- Red Hat · OpenShift Pipelines
- Red Hat · OpenShift Service Mesh 2
- Red Hat · OpenShift Service Mesh 3
- Red Hat · Red Hat AMQ Broker 7
- Red Hat · Red Hat Ansible Automation Platform 2
- Red Hat · Red Hat build of Apache Camel - HawtIO 4
- Red Hat · Red Hat Build of Keycloak
- Red Hat · Red Hat Build of Podman Desktop
- Red Hat · Red Hat Build of Podman Desktop - Tech Preview
- Red Hat · Red Hat Data Grid 8
- Red Hat · Red Hat Developer Hub
- Red Hat · Red Hat Discovery 2
- Red Hat · Red Hat Enterprise Linux AI (RHEL AI) 3
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.