Skip to content
Fencer Vulns
medium 6.3

CVE-2026-112944 json

launch-editor: Editor CLI flag misinterpretation causing arbitrary command execution for some editors

published 2026-10-20 20 d ago modified 2026-10-20 19 d ago also EUVD-2026-105045 , GHSA-r825-w8mm-5pxw

cvss
6.3
version 4.0, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.7%
EPSS 0.7% chance of exploitation in 30 days, percentile 53%
public exploits
0
none known

Summary

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.

Patch / fix

  • npm launch-editor 2.14.2
  • npm vite 6.4.4, 7.3.7, 8.1.6, 8.2.4, 8.3.3
  • npm vite-plus 1.1.0
  • vitejs launch-editor 2.14.2
  • vitejs vite 1.1.0, 2.14.2, 6.4.4, 7.3.7, 8.1.6, 8.2.4, 8.3.3

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-112944 updated cvss 6.7

launch-editor: launch-editor: Arbitrary command execution via improper filename handling

  • Red Hat Hardened Images grafana13.1 13.1.7-0.2.hum1, grafana13.2 13.2.3-0.3.hum1, prometheus3.13 3.13.4-0.1.hum1
    not affected: component not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
20 d ago

Exploit prediction

0.70% chance of exploitation in the next 30 days, higher than 53% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 4.0 6.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:N
CNA 4.0 6.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: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

Affected packages

ecosystem package affected fixed in
npm launch-editor
<2.14.2
2.14.2
npm 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
8.3.3
8.2.4
8.1.6
7.3.7
6.4.4
npm vite-plus
<1.1.0
1.1.0

Affected products

  • vitejs launch-editor
  • vitejs vite
  • vitejs vite-plus

Classification

Weakness
  • CWE-88 Improper Neutralization of Argument Delimiters in a Command

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.