Command Injection Affecting launch-editor package, versions <2.14.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.41% (35th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-LAUNCHEDITOR-21282031
  • published21 Oct 2026
  • disclosed20 Oct 2026
  • creditiaohkut-from-NightWolf-Team, Charles Vosburgh, Rikuxx0

Introduced: 20 Oct 2026

NewCVE-2026-112943  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade launch-editor to version 2.14.2 or higher.

Overview

launch-editor is a launch editor from node.js

Affected versions of this package are vulnerable to Command Injection via constructWindowsLaunchCommand in packages/launch-editor/construct-windows-launch-command.js, where file path arguments containing % characters are passed unsanitized to childProcess.exec on Windows. CMD expands percent-delimited expressions such as %VAR:old=new% before consuming caret escapes, allowing an attacker who controls the file path argument to inject arbitrary OS commands through environment variable expansion. Arguments containing line breaks are similarly not rejected, as CMD treats line breaks as command separators.

Note: This is only exploitable on Windows platforms.

CVSS Base Scores

version 4.0
version 3.1