Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.5%top 59%

CVE-2024-52011: CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') in vitejs launch-editor

0
High
VulnerabilityCVE-2024-52011cvecve-2024-52011cwe-77
Published: 06/01/2026 (06/01/2026, 17:17:43 UTC)
Source: CVE Database V5
Vendor/Project: vitejs
Product: launch-editor

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.

CVSS v4.0

Score 7.5high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Active
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Affected software

launch-editor
pkg:npm/launch-editor
Affected versions
<2.9.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/15/2026, 13:40:45 UTC

Technical Analysis

CVE-2024-52011 is a command injection vulnerability (CWE-77) in the vitejs launch-editor package. The issue arises from improper neutralization of special elements in the 'file' argument passed to the launchEditor function, enabling arbitrary command execution on Windows platforms. Versions of launch-editor prior to 2.9.0 are affected. The vulnerability has been addressed in launch-editor 2.9.0, which corresponds to vite version 5.4.9. The CVSS 4.0 base score is 7.5, indicating high severity. No known exploits in the wild have been reported. The vendor advisory from Red Hat confirms the issue and the availability of a fix.

Potential Impact

An attacker can execute arbitrary commands on Windows systems by exploiting the insufficient sanitization of the file argument in launch-editor versions before 2.9.0. This could lead to unauthorized code execution with potential high impact on confidentiality, integrity, and availability of affected systems.

Mitigation Recommendations

Upgrade launch-editor to version 2.9.0 or later, which contains the fix for this command injection vulnerability. This corresponds to vite version 5.4.9 or later. No other mitigations are specified by the vendor advisory. Patch status is confirmed fixed in version 2.9.0.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2024-11-04T17:46:16.779Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2024-52011","vendor":"Red Hat"}]

Threat ID: 6a1de300e29bf47b503a4daf

Added to database: 06/01/2026, 19:52:32 UTC

Last enriched: 07/15/2026, 13:40:45 UTC

Last updated: 07/31/2026, 19:22:52 UTC

Views: 142

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses