{"id":"CVE-2026-112944","published":"2026-10-20T14:57:38Z","modified":"2026-10-20T15:23:12Z","title":"launch-editor: Editor CLI flag misinterpretation causing arbitrary command execution for some editors","vendor":"vitejs","product":"launch-editor","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00818,"percentile":0.54132,"provenance":"source"},"cwes":[{"id":"CWE-88","name":"Improper Neutralization of Argument Delimiters in a Command"}],"references":[{"url":"https://github.com/vitejs/launch-editor/security/advisories/GHSA-r825-w8mm-5pxw","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/vitejs/launch-editor/pull/156","tags":["x_refsource_MISC"]},{"url":"https://github.com/vitejs/launch-editor/commit/f6e6701bb1f16f2dd242b321374f1b6cca6eb6d4","tags":["x_refsource_MISC"]},{"url":"https://github.com/vitejs/launch-editor/releases/tag/v2.14.2","tags":["x_refsource_MISC"]}],"priority":{"score":15.2,"factors":[{"name":"EPSS percentile","points":10.83},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"vitejs","affectedVersions":[{"vendor":"vitejs","product":"launch-editor","versions":["< 2.14.2"]},{"vendor":"vitejs","product":"vite","versions":[">= 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"]},{"vendor":"vitejs","product":"vite-plus","versions":["< 1.1.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-20T15:22:50.878612Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"launch-editor","vulnerableRanges":["<2.14.2"],"patched":["2.14.2"],"from":["GHSA-r825-w8mm-5pxw"],"provenance":"source"},{"ecosystem":"npm","package":"vite","vulnerableRanges":[">=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"],"patched":["8.3.3","8.2.4","8.1.6","7.3.7","6.4.4"],"from":["GHSA-r825-w8mm-5pxw"],"provenance":"source"},{"ecosystem":"npm","package":"vite-plus","vulnerableRanges":["<1.1.0"],"patched":["1.1.0"],"from":["GHSA-r825-w8mm-5pxw"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-105045","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-53632","published":"2026-06-22","fixed":"2.14.1","kev":false,"link":{"from":"CVE-2026-53632","to":"CVE-2026-112944","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:launch-editor","fromFixed":"2.14.1","toFixed":"2.14.2","daysApart":120}]}},{"cve":"CVE-2026-112942","published":"2026-10-20","fixed":"2.14.2","kev":false},{"cve":"CVE-2026-112943","published":"2026-10-20","fixed":"2.14.2","kev":false},{"cve":"CVE-2026-112944","published":"2026-10-20","fixed":"2.14.2","kev":false}],"package":"npm:launch-editor"}}