CVE-2024-52011
HIGH 7.5CVSS 4.0launch-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.
- Published
- 1 Jun 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-77CWE-88
- Also known as
- GHSA-c27g-q93r-2cwf
- Sources
- NVDJSONOSV GHSA-c27g-q93r-2cwfJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 7.5 | 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 |
| OSV | GitHub | 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 | |
| NVD | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) | CVSS 3.1 | HIGH 8.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | launch-editor | < 2.9.0 | 2.9.0 |
| OSV | npm | vite | < 5.4.9 | 5.4.9 |
References
- https://github.com/vitejs/launch-editor/commit/971291e8a6a91226e1616c5c0ec85423d2d50a5e · WEB
- https://github.com/vitejs/launch-editor/security/advisories/GHSA-c27g-q93r-2cwf · WEB
- https://access.redhat.com/errata/RHSA-2026:34342
- https://access.redhat.com/security/cve/CVE-2024-52011
- https://bugzilla.redhat.com/show_bug.cgi?id=2483853
- https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-52011.json
- https://github.com/yyx990803/launch-editor/security/advisories/GHSA-c27g-q93r-2cwf · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-52011 · ADVISORY
- https://github.com/vitejs/launch-editor · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 1 Jun 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 3 Jun 2026)