Every CVE Search/ Get API key

CVE-2024-52011

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

7.5 HighPublic exploitFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Active

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

0.51%Up 0.5 points since Jun 2, 2026
90%50%10%1%

What each source reports

CVE List Score used 7.5

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

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.

Record
CVE-2024-52011
CVSS 4.0
7.5 HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS 3.1
8.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L
Weakness
CWE-77, CWE-88
Updated
2026-11-02
EUVDEUVD-2024-55605 7.5

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.

Record
EUVD-2024-55605
CVSS 4.0
7.5 HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Updated
2026-11-02
GitHub AdvisoriesGHSA-c27g-q93r-2cwf 7.5

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

Summary

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.

Impact

If the following conditions are met, an attacker can execute arbitrary commands on the computer that is using the launch-editor:

  • An attacker can place a file with the malicious filename
  • An attacker can call the launchEditor method with the file argument controlled
  • The launch-editor package is running on Windows

For example, some development server using this package satisfy these conditions, as a malicious website might be able to force the downloading of a file and the path of that file is predictable.

Patch

This issue has been fixed in the launch-editor version 2.9.0 (commit).

Record
GHSA-c27g-q93r-2cwf
CVSS 4.0
7.5 HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Weakness
CWE-77
Updated
2026-11-02
NVD 7.5

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.

Record
CVE-2024-52011
CVSS 4.0
7.5 HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS 3.1
8.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L
Weakness
CWE-77, CWE-88
Updated
2026-11-02
OSV 7.5

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

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.

Record
CVE-2024-52011
CVSS 4.0
7.5 HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Weakness
CWE-77
Updated
2026-11-02
OSVGHSA-c27g-q93r-2cwf 7.5

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

Summary

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.

Impact

If the following conditions are met, an attacker can execute arbitrary commands on the computer that is using the launch-editor:

  • An attacker can place a file with the malicious filename
  • An attacker can call the launchEditor method with the file argument controlled
  • The launch-editor package is running on Windows

For example, some development server using this package satisfy these conditions, as a malicious website might be able to force the downloading of a file and the path of that file is predictable.

Patch

This issue has been fixed in the launch-editor version 2.9.0 (commit).

Record
GHSA-c27g-q93r-2cwf
CVSS 4.0
7.5 HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Weakness
CWE-77
Updated
2026-11-02
Show 11 moreShow less
OSVCLSA-2026-1784596270 No score

TuxCare security update for vite (3 CVEs)

TuxCare rebuilt vite to address 3 CVEs. Fixed in 4.5.14-tuxcare.3.

Record
CLSA-2026-1784596270
Updated
2026-11-02
OSVCLSA-2026-1786362148 No score

TuxCare security update for vite (3 CVEs)

TuxCare rebuilt vite to address 3 CVEs. Fixed in 4.5.5-tuxcare.9.

Record
CLSA-2026-1786362148
Updated
2026-11-02
OSVCLSA-2026-1789031855 No score

TuxCare security update for vite (16 CVEs)

TuxCare rebuilt vite to address 16 CVEs. Fixed in 4.1.5-tuxcare.1.

Record
CLSA-2026-1789031855
Updated
2026-11-02
OSVCLSA-2026-1789376303 No score

TuxCare security update for vite (1 CVE)

TuxCare rebuilt vite to address 1 CVE. Fixed in 3.2.11-tuxcare.5.

Record
CLSA-2026-1789376303
Updated
2026-11-02
OSVCLSA-2026-1789465375 No score

TuxCare security update for launch-editor (2 CVEs)

TuxCare rebuilt launch-editor to address 2 CVEs. Fixed in 2.2.1-tuxcare.1.

Record
CLSA-2026-1789465375
Updated
2026-11-02
OSVCLSA-2026-1791807914 No score

TuxCare security update for vite (3 CVEs)

TuxCare rebuilt vite to address 3 CVEs. Fixed in 4.5.0-tuxcare.2.

Record
CLSA-2026-1791807914
Updated
2026-11-02
OSVCLSA-2026-1791814956 No score

TuxCare security update for vite (3 CVEs)

TuxCare rebuilt vite to address 3 CVEs. Fixed in 5.0.12-tuxcare.6.

Record
CLSA-2026-1791814956
Updated
2026-11-02
OSVCLSA-2026-1792225953 No score

TuxCare security update for @vitejs/plugin-react (7 CVEs)

TuxCare rebuilt @vitejs/plugin-react to address 7 CVEs. Fixed in 2.9.18-tuxcare.2.

Record
CLSA-2026-1792225953
Updated
2026-11-02
OSVCLSA-2026-1792225955 No score

TuxCare security update for @vitejs/plugin-react (1 CVE)

TuxCare rebuilt @vitejs/plugin-react to address 1 CVE. Fixed in 3.2.11-tuxcare.5.

Record
CLSA-2026-1792225955
Updated
2026-11-02
OSVCLSA-2026-1792761444 No score

TuxCare security update for 3 packages (2 CVEs)

TuxCare rebuilt 3 packages to address 2 CVEs. Fixed in 2.9.18-tuxcare.3.

Record
CLSA-2026-1792761444
Updated
2026-11-02
OSVROOT-APP-NPM-CVE-2024-52011 No score

CVE-2024-52011 in launch-editor - Patched by Root

Root has patched CVE-2024-52011 in the launch-editor package for Root:npm. Multiple fixed versions available.

Record
ROOT-APP-NPM-CVE-2024-52011
Updated
2026-11-02

Affected products

Show 16 moreShow less

Affected packages

Affected packages
PackageAffectedFixed
launch-editor
npm
through 2.8.2
2.9.0
vite
npm
through 5.4.8
5.4.9
vite
TuxCare:npm
4.5.14-tuxcare.0 up to 4.5.14-tuxcare.3, plus listed versions
4.5.144.5.14-tuxcare.14.5.14-tuxcare.2
4.5.14-tuxcare.3
vite
TuxCare:npm
4.5.5-tuxcare.0 up to 4.5.5-tuxcare.9, plus listed versions
4.5.54.5.5-tuxcare.14.5.5-tuxcare.24.5.5-tuxcare.34.5.5-tuxcare.4
Show 4 moreShow less
4.5.5-tuxcare.54.5.5-tuxcare.64.5.5-tuxcare.74.5.5-tuxcare.8
4.5.5-tuxcare.9
vite
TuxCare:npm
4.1.5-tuxcare.0 up to 4.1.5-tuxcare.1, plus listed versions
4.1.5
4.1.5-tuxcare.1
vite
TuxCare:npm
3.2.11-tuxcare.0 up to 3.2.11-tuxcare.5, plus listed versions
3.2.113.2.11-tuxcare.13.2.11-tuxcare.23.2.11-tuxcare.33.2.11-tuxcare.4
3.2.11-tuxcare.5
launch-editor
TuxCare:npm
2.2.1-tuxcare.0 up to 2.2.1-tuxcare.1, plus listed versions
2.2.1
2.2.1-tuxcare.1
vite
TuxCare:npm
4.5.0-tuxcare.0 up to 4.5.0-tuxcare.2, plus listed versions
4.5.04.5.0-tuxcare.1
4.5.0-tuxcare.2
vite
TuxCare:npm
5.0.12-tuxcare.0 up to 5.0.12-tuxcare.6, plus listed versions
5.0.125.0.12-tuxcare.15.0.12-tuxcare.25.0.12-tuxcare.35.0.12-tuxcare.45.0.12-tuxcare.5
5.0.12-tuxcare.6
@vitejs/plugin-react
TuxCare:npm
2.9.18-tuxcare.0 up to 2.9.18-tuxcare.2, plus listed versions
2.9.182.9.18-tuxcare.1
2.9.18-tuxcare.2
Show 8 moreShow less
Affected packages
PackageAffectedFixed
@vitejs/plugin-react
TuxCare:npm
3.2.11-tuxcare.0 up to 3.2.11-tuxcare.5, plus listed versions
3.2.113.2.11-tuxcare.13.2.11-tuxcare.23.2.11-tuxcare.33.2.11-tuxcare.4
3.2.11-tuxcare.5
@vitejs/plugin-legacy
TuxCare:npm
2.9.18-tuxcare.0 up to 2.9.18-tuxcare.3, plus listed versions
2.9.182.9.18-tuxcare.12.9.18-tuxcare.2
2.9.18-tuxcare.3
create-vite
TuxCare:npm
2.9.18-tuxcare.0 up to 2.9.18-tuxcare.3, plus listed versions
2.9.182.9.18-tuxcare.12.9.18-tuxcare.2
2.9.18-tuxcare.3
vite
TuxCare:npm
2.9.18-tuxcare.0 up to 2.9.18-tuxcare.3, plus listed versions
2.9.182.9.18-tuxcare.12.9.18-tuxcare.2
2.9.18-tuxcare.3
launch-editor
npm
before 2.9.0
2.9.0
vite
npm
before 5.4.9
5.4.9
launch-editor
Root:npm
before 2.6.0-aikido.1
2.6.0-aikido.1
@rootio/launch-editor
Root:npm
before 2.6.0-root.io.1
2.6.0-root.io.1

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
PoC in GitHubHORKimhab/CVE-2024-520112026-06-09

History

History
RecordedChangedSources
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV, PoC in GitHub

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2024-52011 is a high vulnerability (CVSS 7.5) in Vitejs Launch-editor, published June 1, 2026. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 0.51%, the 43rd percentile. Fixed in launch-editor 2.9.0.

References

Show 5 moreShow less
MoveEnter Open