MEDIUMCVSS v4 6.3Vulnerability

CVE-2026-112944

### Summary `launch-editor` forwarded file paths directly to editors without sanitization. If a path resembles a CLI flag, editors like Vim may interpret it as a command, potentially causing unintended file overwrites or command execution. ### Impact #### Direct `launch-editor` users Only apps that match all of the following conditions are affected: - The attacker is able to create a file system entry (e.g. a file or directory) starting with `+` or `-` in the working directory - The user uses or the app specifies any of the following editors: - Vim (including gVim) - MacVim - Emacs (including Emacsclient) - Notepad++ (only if using a plugin exposing dangerous operations via plugin messages) - The first argument of `launchEditor` can start with `+` or `-` or the user is using WSL #### `launch-editor-middleware` users Only apps that match the following conditions are affected: - The attacker is able to create a file system entry (e.g. a file or directory) starting with `+` or `-` in the working directory - The user uses or the app specifies any of the following editors: - Vim (including gVim) - MacVim - Emacs (including Emacsclient) - Notepad++ (only if using a plugin exposing dangerous operations via plugin messages) - launch-editor older than v2.2.0 is used, or the user is using WSL #### Vite users Only apps that match the following conditions are affected: - The attacker is able to create a file system entry (e.g. a file or directory) starting with `+` or `-` in the working directory - The user uses or the app specifies any of the following editors: - Vim (including gVim) - MacVim - Emacs (including Emacsclient) - Notepad++ (only if using a plugin exposing dangerous operations via plugin messages) - The user is using WSL ### Details `launchEditor(file)` function passes the file name as-is to the editor if the file with that file name exists. If the file name starts with `-` (also `+` for Vim), the editor treats them as flags rat

Properties

Severity
medium
Summary
launch-editor: Editor CLI flag misinterpretation causing arbitrary command execution for some editors
Nvd fetched at
2026-10-20T21:14:08.448323+00:00
Cvss severity
MEDIUM
Cvss score
6.3
Retrieved at
2026-10-21T01:23:59+00:00
Ghsa published
2026-10-20T19:51:52Z
Source url
https://github.com/advisories/GHSA-r825-w8mm-5pxw
Ghsa updated
2026-10-20T19:51:54Z
Ghsa id
GHSA-r825-w8mm-5pxw
Last source
GitHub Advisory Database
Score
6.3
Cvss version
4.0
Cve id
CVE-2026-112944
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
First seen by Signal
2026-10-20T17:10:14+00:00
Is ghsa only
false
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
Published at
2026-10-20T15:17:17.793
Last modified
2026-10-20T19:55:49.343

Related Entities (7)

AFFECTS (3)

→[Software]npm/vite-plus
→[Software]npm/launch-editor
→[Software]npm/vite

VULNERABLE_TO (3)

←[Software]npm/vite-plus
←[Software]npm/vite
←[Software]npm/launch-editor

Explore deeper with Ninja Signal's threat intelligence graph

CVE-2026-112944 (CVSS v4 6.3) — Ninja Signal Threat Intelligence | Ninja Signal