CVE-2024-52011

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.
Configurations

No configuration.

History

No history.

Information

Published : 2026-06-01 19:16

Updated : 2026-09-04 13:17


NVD link : CVE-2024-52011

Mitre link : CVE-2024-52011

CVE.ORG link : CVE-2024-52011


JSON object : View

Products Affected

No product.

CWE
CWE-77

Improper Neutralization of Special Elements used in a Command ('Command Injection')

CWE-88

Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')