CVE-2026-112943: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in vitejs launch-editor
Description
launch-editor allows users to open files with line numbers in editor from Node.js. Prior to 2.14.2, launch-editor did not escape % on Windows when passing an argument to cmd. When an environment variable contained a malicious value, it was possible that that content to be executed. This vulnerability is fixed in 2.14.2.
CVSS v4.0
Score 6.3medium
Affected software
vitejs
launch-editor
vitejs
vite
vitejs
vite-plus
pkg:npm/launch-editorRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The launch-editor component of vitejs allows users to open files at specific line numbers in an editor from Node.js. Versions before 2.14.2 failed to escape the % character on Windows when passing arguments to the cmd shell. This improper neutralization of special elements (CWE-78) could lead to OS command injection if an attacker controls an environment variable with malicious content. The vulnerability has a CVSS 4.0 base score of 6.3 (medium severity) and is fixed in version 2.14.2.
Potential Impact
An attacker who can influence environment variables on a Windows system running a vulnerable version of launch-editor could execute arbitrary OS commands via crafted input containing % characters. This could lead to partial system compromise or unauthorized command execution. No known exploits in the wild have been reported.
Mitigation Recommendations
Upgrade launch-editor to version 2.14.2 or later, where the vulnerability is fixed by properly escaping % characters on Windows. No other mitigation is indicated.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-10-19T21:30:47.245Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6ad782e92cdf04f65638a995
Added to database: 10/20/2026, 15:04:09 UTC
Last enriched: 10/20/2026, 15:19:15 UTC
Last updated: 10/20/2026, 19:06:08 UTC
Views: 10
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.