Skip to content
OpenAdvisories
High · 7.5 Public exploit CVE-2024-52011 EUVD-2024-55605GHSA-c27g-q93r-2cwf

launch-editor vulnerable to command injection via the crafted request on Windows

Published Jun 1, 2026 · Updated Sep 4, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
vitejs launch-editor < 2.9.0 —
vitejs vite < 5.4.9 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
npm launch-editor < 2.9.0 2.9.0 GHSA-c27g-q93r-2cwf
npm vite < 5.4.9 5.4.9 GHSA-c27g-q93r-2cwf

References