Home

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.

PUBLISHED Reserved 2024-11-04 | Published 2026-06-01 | Updated 2026-06-02 | Assigner GitHub_M




HIGH: 7.5CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Problem types

CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')

Product status

< 2.9.0
affected

< 5.4.9
affected

References

github.com/...editor/security/advisories/GHSA-c27g-q93r-2cwf

github.com/...ommit/971291e8a6a91226e1616c5c0ec85423d2d50a5e

cve.org (CVE-2024-52011)

nvd.nist.gov (CVE-2024-52011)

Download JSON