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

- Priority: **Routine**
- Reason: Not severe (CVSS 6.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-10-20 · Modified: 2026-10-20
- Aliases: GHSA-r825-w8mm-5pxw, CGA-3wr4-g9px-5wqq, CGA-2cp4-27vp-9g65, CGA-2hx8-6h2x-qmrr, CGA-4qfm-wg9f-h9mx, CGA-5rvf-qfmc-fpm6, CGA-6m6r-gcj9-vp8r, CGA-6ppq-xrp8-cv4h, CGA-xxx3-xqr4-j2hq, CGA-v28m-4xhg-c9fc, CGA-w7jv-9vj3-hxpf, CGA-3fqc-g589-5w54, CGA-3g7r-65x2-c3px, CGA-4j8r-9w6j-j97r, CGA-5mc7-2xm6-g9x7, CGA-8x64-gcg3-949j, CGA-rpfh-pm72-8prf, CGA-5qq9-r4rc-hx4q, CGA-6m3q-gp76-xwcm, CGA-6mcp-w34x-3w65, CGA-7qvm-rp3x-8hr4, CGA-8gr2-6659-86g5, CGA-8p78-9fpw-8gp4, CGA-hj2g-vqqg-pmf2, CGA-j2x4-3wwx-3g68, CGA-j5r2-5gc3-xwx7, CGA-jfgq-c49v-rhxr, CGA-mqph-vjx7-3p4j, CGA-pf3r-23h4-ppf5, CGA-rm5m-g8fw-549m, CGA-v4w8-99jh-p876, CGA-v4rm-8x2w-88g3, CGA-63gq-5wrv-jmc5, CGA-ccg5-9743-mjvq, CGA-f3wx-p2r8-327g, CGA-hg56-xp6r-j95q, CGA-pmvr-r65w-988r, CGA-q25r-49f9-hmm7, CGA-v7xr-898r-7jjp, CGA-x45w-g23c-3fjf, CGA-34jg-7jvx-hjg9, CGA-75mx-59cw-qgx4, CGA-7f83-grp8-366j, CGA-fp86-jm3w-8jxr, CGA-h8gx-89rr-j2m3, CGA-j2c2-gjg9-fm9q, CGA-p3gc-3w5f-6qfg, CGA-q98q-p2wj-wp9j, CGA-rmf8-v4rj-cwrp, CGA-rw23-qv68-4qgx, CGA-vc6x-hvmc-4pg5, CGA-vm5j-8xhg-rj6h, CGA-w68h-5f59-5h8g, CGA-wvh7-pxxv-jvr8, CGA-342j-4fqp-f7rj, CGA-cghp-cfq2-93x6, CGA-fxcf-5v7p-c2cr, CGA-hvq5-rw4v-5fp3, CGA-pw3c-93ch-5w2w, CGA-wrg4-h573-34g7, CGA-gjrg-f4j2-wrcv, CGA-q22m-qv7w-r5gv, CGA-fg38-m896-c5fj, CGA-gm5v-j84r-3rvv, CGA-mww3-333m-2234, CGA-6c9r-vhpm-8frj, CGA-9ppx-mp8m-2jv7, CGA-ccxq-p2pw-8whx, CGA-fhr8-ph36-qm5g, CGA-gcqw-gwwh-cpp4, CGA-mm9r-2r2g-f84f, CGA-rf2g-vmwg-9wfg, CGA-whff-9q9g-fh3j, CGA-496j-727r-h6w5, CGA-543p-6gp2-f292, CGA-5gwf-qrff-p75m, CGA-ph5r-9f47-3xcw, CGA-xrgx-5p26-36r2
- Record: https://cvemate.com/vulnerability/CVE-2026-112944 · JSON: https://cvemate.com/vulnerability/CVE-2026-112944/json

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

## Signals

- CVSS: 6.3 medium (v4.0, CVE.org) 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
- EPSS: 0.705%, percentile 54.734%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 32)

- chainguard arangodb-3.12 (Chainguard): All versions (No fix recorded) \| \< 3.12.12.1-r10
- chainguard commercial-gitlab-rails-ee-fips-19.1 (Chainguard): All versions (No fix recorded) \| \< 19.1.9-r0
- chainguard gitlab-rails-ce-18.10 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.11 (Chainguard): All versions (No fix recorded) \| \< 18.11.13-r0
- chainguard gitlab-rails-ce-18.8 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.9 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.0 (Chainguard): All versions (No fix recorded) \| \< 19.0.10-r0
- chainguard gitlab-rails-ce-19.1 (Chainguard): All versions (No fix recorded) \| \< 19.1.9-r0
- chainguard gitlab-rails-ce-19.2 (Chainguard): All versions (No fix recorded) \| \< 19.2.9-r1
- chainguard gitlab-rails-ce-19.3 (Chainguard): \< 19.3.5-r4
- chainguard gitlab-rails-ce-19.4 (Chainguard): All versions (No fix recorded) \| \< 19.4.3-r0 \| \< 19.4.2-r6
- chainguard gitlab-rails-ce-19.5 (Chainguard): All versions (No fix recorded) \| \< 19.5.1-r1
- chainguard gitlab-rails-ce-fips-18.8 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-19.2 (Chainguard): All versions (No fix recorded) \| \< 19.2.9-r1
- chainguard kubeflow-pipelines-frontend (Chainguard): All versions (No fix recorded) \| \< 2.17.2-r16
- chainguard langfuse-3-worker (Chainguard): All versions (No fix recorded) \| \< 3.225.12-r3
- chainguard langfuse-4-worker (Chainguard): All versions (No fix recorded) \| \< 4.66.0-r1
- chainguard langfuse-fips-3-worker (Chainguard): All versions (No fix recorded) \| \< 3.225.12-r3
- chainguard langfuse-fips-4-worker (Chainguard): All versions (No fix recorded) \| \< 4.68.0-r0
- chainguard nextcloud-server-32 (Chainguard): All versions (No fix recorded)

## References

- <https://github.com/vitejs/launch-editor/security/advisories/GHSA-r825-w8mm-5pxw>
- <https://github.com/vitejs/launch-editor/pull/156>
- <https://github.com/vitejs/launch-editor/commit/f6e6701bb1f16f2dd242b321374f1b6cca6eb6d4>
- <https://github.com/vitejs/launch-editor/releases/tag/v2.14.2>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-112944>
- <https://github.com/vitejs/launch-editor>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112944.json>

---

Data as of 2026-12-05T08:09:16.910Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
