CVE-2024-52011
launch-editor vulnerable to command injection via the crafted request on Windows
- State
- Published
- Severity
- 7.5 High
- Published
- Jun 1, 2026
- Updated
- Sep 4, 2026
- Reserved
- Nov 4, 2024
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 7.5 High | 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 |
| 3.1 | 8.3 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L | redhat-SADP |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
launch-editorvitejs |
|
vitevitejs |
|
References
- https://github.com/vitejs/launch-editor/security/advisories/GHSA-c27g-q93r-2cwf
- https://github.com/vitejs/launch-editor/commit/971291e8a6a91226e1616c5c0ec85423d2d50a5e
- https://access.redhat.com/security/cve/CVE-2024-52011vdb-entry
- RHBZ#2483853issue-tracking
- https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-52011.json
- https://access.redhat.com/errata/RHSA-2026:34342vendor-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.