CVE-2026-112944
published medium CVSS 4.0 · 6.3launch-editor: Editor CLI flag misinterpretation causing arbitrary command execution for some editors
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| vitejs | — | launch-editor< 2.14.2 | Affected | Not stated | GitHub_M |
| 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 | Affected | Not stated | GitHub_M |
| vitejs | — | vite-plus< 1.1.0 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Tumbleweed | agama-web-uiaarch64 | Advisory build | 25+723.416bea1dc-57.1 | OPENSUSE-SU-2026:12701-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | agama-web-uippc64le | Advisory build | 25+723.416bea1dc-57.1 | OPENSUSE-SU-2026:12701-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | agama-web-uis390x | Advisory build | 25+723.416bea1dc-57.1 | OPENSUSE-SU-2026:12701-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | agama-web-uix86_64 | Advisory build | 25+723.416bea1dc-57.1 | OPENSUSE-SU-2026:12701-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| vitejs | launch-editor | < 2.14.2 (affected) | GitHub_M · cna |
| vitejs | vite | >= 8.3.0, < 8.3.3 (affected)>= 8.2.0, < 8.2.4 (affected)>= 8.0.0, < 8.1.6 (affected)>= 7.0.0, < 7.3.7 (affected)< 6.4.4 (affected) | GitHub_M · cna |
| vitejs | vite-plus | < 1.1.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-88 CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
References
4Provider assertions
2GitHub_M · cna
launch-editor: Editor CLI flag misinterpretation causing arbitrary command execution for some editors
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ed0c17f048c93c38db37d54ff481cb07e6a085f400bdd6d008d6e5c4abaf503a
- Ingested
- 20 Oct 2026, 15:35:29 UTC
- Source record
- Official CVE record