CVE-2026-112944: launch-editor · Editor CLI flag misinterpretation causing arbitrary command execution for some editors
Affects viteSource GCVE Database
Not known to be exploited · CVSS 6.3 Medium : upgrade to 8.3.3 when convenient.
Data as of 13 Nov 2026, 21:06 UTC
- Patch
- Available – fixed in 8.3.3
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 20 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.
What to do
Upgrade vite to 8.3.3.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewvitepkg:brew/viteOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available and should be applied. For Vite users, upgrade to version 8.3.3 or later where the issue is fixed. For launch-editor-middleware users, use version 2.2.0 or later, which converts file paths to absolute paths to prevent flag interpretation, except on WSL where the vulnerability persists. Users on WSL should be especially cautious and consider additional mitigations or updates. No other specific mitigations are indicated by the vendor advisory.
Description
The launch-editor package improperly forwards file paths directly to editors without sanitization, allowing file paths starting with CLI flags like '+' or '-' to be interpreted as commands by editors such as Vim, MacVim, Emacs, and Notepad++ (with certain plugins). This can lead to unintended command execution or file overwrites when an attacker can create such specially named files or directories in the working directory. The vulnerability affects certain versions of Vite (>=2.5.1 <8.3.3) and is mitigated in launch-editor-middleware v2.2.0+ except when used on WSL, where relative paths are still used internally. A fix is available in Vite 8.3.3.
References
- github.com/vitejs/launch-editor/security/advisories/GHSA-r825-w8mm-5pxw (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-112944 (opens in a new tab)
- github.com/vitejs/launch-editor/pull/156 (opens in a new tab)
- github.com/vitejs/launch-editor/commit/f6e6701bb1f16f2dd242b321374f1b6cca6eb6d4 (opens in a new tab)
- github.com/vitejs/launch-editor (opens in a new tab)
- github.com/vitejs/launch-editor/releases/tag/v2.14.2 (opens in a new tab)