Breaking: Java4Shell (CVE-2026-114938) - Less Than 0.12% of JVMs Estimated at Risk of RCE
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2024-52011

launch-editor: vite: launch-editor: Arbitrary command execution via insufficient file argument sanitization

Overview

Published
1 Jun 2026
Modified
4 Sep 2026
High CVE
4 Registry packages
12 OS packages
1 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

8.3 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
Low

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L

Weakness: CWE-77, CWE-88

Affected packages · 4

Packages affected by CVE-2024-52011
EcosystemPackageVulnerableFixed in
npm launch-editor <2.9.0 2.9.0
npm vite <5.4.9 5.4.9
Seal npm @seal-security/vite >=4.4.11-sp1, <4.4.11-sp999>=5.3.5-sp1, <5.3.5-sp999 4.4.11-sp9995.3.5-sp999
Seal npm vite >=4.4.11-sp0, <4.4.11-sp999>=5.3.5-sp0, <5.3.5-sp999 4.4.11-sp9995.3.5-sp999

Open a package to see all its vulnerabilities.

Operating systems · 12 fixes

chainguard 1 release · 12 packages

fixed 12
gitlab-rails-ce-fips-18-10 gitlab-rails-ce-fips-18-11 gitlab-rails-ce-18-11 gitlab-rails-ce-fips-18-9 gitlab-rails-ce-19-0 gitlab-rails-ce-fips-19-0 +6
chainguard fixes for CVE-2024-52011
ReleasePackageFixed in
gitlab-rails-ce-fips-18-10 18.10.8-r8
gitlab-rails-ce-fips-18-11 18.11.12-r2
gitlab-rails-ce-18-11 18.11.13-r0
gitlab-rails-ce-fips-18-9 18.9.8-r8
gitlab-rails-ce-19-0 19.0.10-r0
gitlab-rails-ce-fips-19-0 19.0.9-r3

6 more rows

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.