{"id":"CVE-2024-52011","aliases":["GHSA-c27g-q93r-2cwf"],"url":"https://o3.security/vulnerability/CVE-2024-52011","summary":"launch-editor vulnerable to command injection via the crafted request on Windows","details":"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":"2026-06-01T17:17:43.792Z","modified":"2026-08-08T03:48:08.270604699Z","cvss":null,"epss":{"score":0.00514,"percentile":0.41023,"asOf":"2026-08-10"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"launch-editor","fixedVersion":"2.9.0"},{"ecosystem":"npm","name":"vite","fixedVersion":"5.4.9"}],"fix":{"url":"https://github.com/vitejs/launch-editor/commit/971291e8a6a91226e1616c5c0ec85423d2d50a5e","label":"vitejs/launch-editor@971291e"},"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-52011.json"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:34342"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2024-52011"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52011.json"},{"type":"ADVISORY","url":"https://github.com/vitejs/launch-editor/security/advisories/GHSA-c27g-q93r-2cwf"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-52011"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2483853"},{"type":"FIX","url":"https://github.com/vitejs/launch-editor/commit/971291e8a6a91226e1616c5c0ec85423d2d50a5e"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-08T03:48:08.270604699Z"}}