CVE-2026-112944: launch-editor - Command Injection
- Cve: CVE-2026-112944
- Name: launch-editor - Command Injection
- Description: launch-editor allows users to open files with line numbers in editor from Node.js. Prior to 2.14.2, when an attacker can create a filesystem entry beginning with plus or minus in the working directory, an affected editor is selected, and the path can remain relative or is converted to a relative WSL path, launchEditor forwards the path without forcing it to be interpreted as a positional filename. Editor option parsing then treats the attacker-controlled filename as a command-line flag, which can cause unintended file overwrite or arbitrary command execution by the selected editor. The affected editors are Vim and gVim, MacVim, Emacs and Emacsclient, and Notepad++ when a plugin exposes dangerous operations; WSL path conversion keeps Vite and newer middleware callers exposed. This issue is fixed in version 2.14.2.
- Impact: Attackers can execute arbitrary commands or overwrite files via crafted filenames, potentially compromising the system or data integrity.
- Remediation: Update to version 2.14.2 or later.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution, data_tampering
- Requirements: Attacker needs to create filesystem entries starting with plus or minus in working directory
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.3
- Cvss vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/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
- Epss score: 0.00705
- Epss percentile: 0.54088
- Assignee: [email protected]
- Published at: 2026-10-20T15:17:17Z
- Age in days: 35
- Modified at: 2026-10-20T19:55:49Z
- Patch available: yes
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-112944
- Nvd status: awaiting_analysis
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirement type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-88 | Improper Neutralization of Argument Delimiters in a Command |
References
Same in every row:
- Source: nvd
- Tags:
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| vitejs:vite | >= 8.3.0, < 8.3.3; >= 8.2.0, < 8.2.4; >= 8.0.0, < 8.1.6; >= 7.0.0, < 7.3.7; < 6.4.4 | no | cna_alias_text | /v1/products/vitejs/vite |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| vitejs/launch-editor | commit, fix, package, pull, releases, security_advisory | yes | /v1/repositories/vitejs/launch-editor |
Index
- Repositories: 1580
- Repositories high signal: 142
- Packages: 3
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts