# CVE-2026-112943: launch-editor: escapeCmdArgs() omits % escaping on Windows

- Severity: Medium 6.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 37% of CVEs (2026-12-01)
- Published: 2026-10-20T14:53:41.777Z
- Modified: 2026-10-20T19:55:49.343Z
- Also known as: GHSA-698v-4r3x-3vcv
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

launch-editor allows users to open files with line numbers in editor from Node.js. Prior to 2.14.2, launch-editor did not escape % on Windows when passing an argument to cmd. When an environment variable contained a malicious value, it was possible that that content to be executed. This vulnerability is fixed in 2.14.2.

(As written by CVE List.)

## Affected

- vitejs launch-editor: < 2.14.2
- 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
- vitejs vite-plus: < 1.1.0
- launch-editor (npm): before 2.14.2
- vite (npm): from 8.3.0 before 8.3.3; from 8.2.0 before 8.2.4; from 8.0.0 before 8.1.6; from 7.0.0 before 7.3.7; before 6.4.4
- vite-plus (npm): before 1.1.0

## Every score

- GitHub_M: CVSS:4.0 6.3 Medium `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`
- GitHub: CVSS:4.0 Medium `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`

## References

- <https://github.com/vitejs/launch-editor/security/advisories/GHSA-698v-4r3x-3vcv> (web)
- <https://github.com/vitejs/launch-editor/pull/155> (web)
- <https://github.com/vitejs/launch-editor/commit/3c2f9bf2ff8fe63d056a8f9cc52d825b66ca79fc> (web)
- <https://github.com/vitejs/launch-editor/releases/tag/v2.14.2> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-112943> (advisory)
- <https://github.com/vitejs/launch-editor> (package)

## Sources

- CVE List: [CVE-2026-112943](https://www.cve.org/CVERecord?id=CVE-2026-112943), CVE Terms of Use, modified 2026-10-20
- GitHub Advisory Database: [GHSA-698v-4r3x-3vcv](https://github.com/advisories/GHSA-698v-4r3x-3vcv), CC-BY-4.0, modified 2026-10-20
- NVD: [CVE-2026-112943](https://nvd.nist.gov/vuln/detail/CVE-2026-112943), Public domain, modified 2026-10-20

---

Page: https://cve.day/CVE-2026-112943 · Whole record: https://cve.day/CVE-2026-112943.json · Rebuilt by cve.day 2026-11-25T22:59:46.051Z
