Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. vite
  4. ›
  5. CVE-2024-52011

CVE-2024-52011: launch-editor vulnerable to command injection via the crafted request on Windows

June 3, 2026

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.

References

  • github.com/advisories/GHSA-c27g-q93r-2cwf
  • github.com/vitejs/launch-editor/commit/971291e8a6a91226e1616c5c0ec85423d2d50a5e
  • github.com/vitejs/launch-editor/security/advisories/GHSA-c27g-q93r-2cwf
  • github.com/yyx990803/launch-editor/security/advisories/GHSA-c27g-q93r-2cwf
  • nvd.nist.gov/vuln/detail/CVE-2024-52011

Code Behaviors & Features

Detect and mitigate CVE-2024-52011 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 5.4.9

Fixed versions

  • 5.4.9

Solution

Upgrade to version 5.4.9 or above.

Impact 8.8 HIGH

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

Learn more about CVSS

Weakness

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

Source file

npm/vite/CVE-2024-52011.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:24:41 +0000.