# CVE-2026-112944: launch-editor: Editor CLI flag misinterpretation causing arbitrary command execution for some editors

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.3
- **CVSS:** 6.3 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: None; User interaction: None; Confidentiality impact: Low; Integrity impact: Low; Availability impact: Low; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.82% (percentile 54, 2026-11-28)
- **CWE:** CWE-88
- **Aliases:** GHSA-r825-w8mm-5pxw
- **Published:** 2026-10-20T14:57:38.728Z
- **Modified:** 2026-10-20T20:00:04.608Z

## Who should check

- Projects that depend on npm package launch-editor (\< 2.14.2)
- Projects that depend on npm package vite (\>= 8.3.0, \< 8.3.3)
- Projects that depend on npm package vite-plus (\< 1.1.0)
- Anyone running vitejs launch-editor \< 2.14.2
- Anyone running 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
- Anyone running vitejs vite-plus \< 1.1.0

## 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.

## Affected and fixed versions

- npm `launch-editor`: affected \< 2.14.2; fixed 2.14.2 (osv)
- npm `vite`: affected \>= 8.3.0, \< 8.3.3; fixed 8.3.3, 8.2.4, 8.1.6, 7.3.7, 6.4.4 (osv)
- npm `vite-plus`: affected \< 1.1.0; fixed 1.1.0 (osv)
- vitejs launch-editor: \< 2.14.2 (cvelist)
- 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 (cvelist)
- vitejs vite-plus: \< 1.1.0 (cvelist)

## Mitigation

- Upgrade launch-editor to 2.14.2 or later.
- Upgrade vite to one of 8.3.3, 8.2.4, 8.1.6, 7.3.7, 6.4.4 (or later in the same release line).
- Upgrade vite-plus to 1.1.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-112944. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-112944.md
Affected: launch-editor < 2.14.2; vite >= 8.3.0, < 8.3.3; vite-plus < 1.1.0
Fixed in: 2.14.2, 8.3.3, 8.2.4, 8.1.6, 7.3.7, 6.4.4, 1.1.0

Steps:
1. Search this machine and project for launch-editor (npm), vite (npm), vite-plus (npm), vitejs launch-editor, vitejs vite, vitejs vite-plus: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-112944 being exploited?

There is no confirmed exploitation: CVE-2026-112944 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.82% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-112944?

Medium: CVSS 6.3 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-112944?

launch-editor \< 2.14.2; vite \>= 8.3.0, \< 8.3.3; vite-plus \< 1.1.0.

### Is there a fix for CVE-2026-112944?

Yes. Fixed in 2.14.2, 8.3.3, 8.2.4, 8.1.6, 7.3.7, 6.4.4, 1.1.0. Upgrade launch-editor to 2.14.2 or later. Upgrade vite to one of 8.3.3, 8.2.4, 8.1.6, 7.3.7, 6.4.4 (or later in the same release line). Upgrade vite-plus to 1.1.0 or later.

### How do I check if I'm affected by CVE-2026-112944?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/vitejs/launch-editor/security/advisories/GHSA-r825-w8mm-5pxw>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-112944>
- patch: <https://github.com/vitejs/launch-editor/pull/156>
- patch: <https://github.com/vitejs/launch-editor/commit/f6e6701bb1f16f2dd242b321374f1b6cca6eb6d4>
- other: <https://github.com/vitejs/launch-editor/releases/tag/v2.14.2>
- other: <https://github.com/vitejs/launch-editor>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-112944>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-r825-w8mm-5pxw> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-112944> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-112944>
