CVE Database
/

CVE-2024-52011

Back to search

CVE-2024-52011

Published: Jun 1, 2026

Modified: Jun 2, 2026

PUBLISHED

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.

VendorProductVersions

vitejs

launch-editor

affected
< 2.9.0

vitejs

vite

affected
< 5.4.9

Weaknesses (CWE)

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now