Bug 2483853 (CVE-2024-52011) - CVE-2024-52011 launch-editor: vite: launch-editor: Arbitrary command execution via insufficient file argument sanitization
Summary: CVE-2024-52011 launch-editor: vite: launch-editor: Arbitrary command executio...
Keywords:
Status: NEW
Alias: CVE-2024-52011
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-06-01 22:20 UTC by Jon Moroney
Modified: 2026-06-24 08:59 UTC (History)
98 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Jon Moroney 2026-06-01 22:20:22 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.