---
title: "CVE-2026-112942: launch-editor - Command Injection"
description: "launch-editor prior to 2.14.2 contains a command injection caused by improper validation of Windows file arguments with parent-directory and line-column suffixes in launch-editor-middleware, letting attackers bypass filename checks and execute OS commands, exploit requires combining with Windows percent-expansion flaw."
url: https://panop.io/threat-heartbeat/CVE-2026-112942/
---

# CVE-2026-112942 launch-editor - Command Injection

launch-editor prior to 2.14.2 contains a command injection caused by improper validation of Windows file arguments with parent-directory and line-column suffixes in launch-editor-middleware, letting attackers bypass filename checks and execute OS commands, exploit requires combining with Windows percent-expansion flaw.

CVSS base score 7.5 /10

High

CISA KEV

Not listed

Public exploit

None known

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-112942)

## Details

Type

Command Injection

Impact

Remote Code Execution

CVSS vector

CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/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

20 October 2026

Updated

21 October 2026

Weakness

[CWE-77](https://cwe.mitre.org/data/definitions/77.html)

## Vendor fix

Update to version 2.14.2 or later.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-112942](https://nvd.nist.gov/vuln/detail/CVE-2026-112942)
- [https://github.com/vitejs/launch-editor/releases/tag/v2.14.2](https://github.com/vitejs/launch-editor/releases/tag/v2.14.2)
- [https://github.com/vitejs/launch-editor/security/advisories/GHSA-587h-7wmj-h5pm](https://github.com/vitejs/launch-editor/security/advisories/GHSA-587h-7wmj-h5pm)
- [https://github.com/vitejs/launch-editor/commit/f13cd835d4b8e860b1d4d080ad8a490cc2463679](https://github.com/vitejs/launch-editor/commit/f13cd835d4b8e860b1d4d080ad8a490cc2463679)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
