Skip to main content

launch-editor EUVDEUVD-2026-105035

| CVE-2026-112942 HIGH
Command Injection (CWE-77)
2026-10-20 GitHub_M GHSA-587h-7wmj-h5pm
7.5
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach launch-editor-middleware open-in-editor endpoint
  2. Delivery
    Submit crafted Windows file argument with parent-dir + line:col suffix
  3. Exploit
    Bypass filename existsSync validation
  4. Execution
    Chain Windows percent-expansion flaw
  5. Impact
    Execute arbitrary OS commands on developer host

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Command injection prevention
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation is limited to Windows hosts only - the vulnerable code path is gated on process.platform === 'win32'. An attacker must supply an attacker-controlled file argument to launch-editor-middleware (e.g. via the dev server's open-in-editor endpoint), and that argument must end in a parent-directory component ('..') followed by a line-and-column suffix (:line:col) so the path resolves to an existing parent directory and the suffix is stripped before the existsSync check, bypassing filename-existence validation without the malicious filename existing. Crucially, this bypass alone does NOT yield code execution: it must be combined with the separately described Windows percent-expansion flaw to achieve OS command injection. Limiting factors: Windows-only platform, requirement for active user interaction (UI:A), a reachable launch-editor-middleware endpoint (typically a local/dev-time Vite server), the presence of the companion percent-expansion vulnerability, and affected versions prior to 2.14.2.

Impact

This is a genuine but conditional supply-chain risk rather than a drop-everything emergency. The input CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:A) scores 7.5 HIGH and indicates network reachability with no privileges, but it carries two important dampeners the headline score obscures: AT:P (a specific attack requirement must be present) and UI:A (active user interaction). The description further narrows this to Windows-only (process.platform === 'win32') and, critically, states the existsSync bypass only 'can lead to OS command injection when combined with the separately described Windows percent-expansion flaw' - i.e. this CVE alone is a validation-bypass primitive, not a standalone RCE. No EPSS score was provided, this CVE is NOT in CISA KEV (no confirmed active exploitation), and no public exploit was supplied - the only code evidence is the vendor fix commit, which is a patch, not a weaponized POC. The CWE-77 (command injection) classification and the network vector could make this look like a wormable remote bug, but the real-world picture is a developer-tooling defect requiring Windows, a reachable launch-editor-middleware endpoint, user interaction, and chaining with a second flaw. Net: patch promptly (especially Vite/Vite Plus dev environments on Windows), but treat it as a chained, condition-gated issue rather than a widespread auto-exploitable one.

Exploit ScenarioDerived

On a Windows developer machine running a Vite dev server, an attacker who can reach the launch-editor-middleware open-in-editor endpoint supplies a crafted file argument ending in a parent-directory component plus a line:column suffix, which passes the filename-existence check even though the malicious filename does not exist. Combined with the separate Windows percent-expansion flaw, this permits OS command injection (CWE-77) executing in the context of the developer process. No public exploit code was provided - only the vendor patch commit (f13cd83) is available.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 1.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 20, 2026

Path-validation bypass in launch-editor before 2.14.2 on Windows allows unauthenticated remote attackers to pass a crafted file:line:column argument that resolves to an existing parent directory and slips past the library's filename-existence check. The bypass does not by itself execute code; it becomes an OS command injection risk only when chained with the separately described Windows percent-expansion flaw, and exploitation requires user interaction plus a reachable launch-editor-middleware endpoint such as a Vite dev server. No public exploit was identified at time of analysis, and the issue is fixed in 2.14.2.

RemediationAI

Upgrade launch-editor to 2.14.2 (vendor-released patch: 2.14.2) or later; for Vite or Vite Plus, update to a release that depends on launch-editor 2.14.2 or later. If immediate upgrade is not possible, avoid exposing launch-editor-middleware or open-in-editor endpoints to untrusted networks, bind dev servers to localhost, and disable the open-in-editor feature or the middleware entirely; these controls reduce exposure but remove developer convenience and do not fix the underlying parser. Because the bypass only becomes command injection when chained with the Windows percent-expansion flaw, also apply the companion fix. Advisory: https://github.com/vitejs/launch-editor/security/advisories/GHSA-587h-7wmj-h5pm; release: https://github.com/vitejs/launch-editor/releases/tag/v2.14.2; fix commit: https://github.com/vitejs/launch-editor/commit/f13cd835d4b8e860b1d4d080ad8a490cc2463679.

Affected VersionsENISA

vite 7.0.0, < 7.3.7
vite 8.3.0, < 8.3.3
vite < 6.4.4
vite 8.2.0, < 8.2.4
vite-plus < 1.1.0
vite 8.0.0, < 8.1.6
launch-editor < 2.14.2

Affected Packages

npm launch-editor fix: 2.14.2
npm vite fix: 6.4.4, 7.3.7, 8.1.6, 8.2.4, 8.3.3
npm vite-plus fix: 1.1.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 packages in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

launch-editor is a Node.js package that opens a file in an editor at a given line and column, and launch-editor-middleware exposes that capability through development servers such as Vite. The vulnerable parser used the regular expression /:(\d+)(:(\d+))?$/ to split the position suffix, but resolved the path while the suffix was still present; launch-editor then removed the suffix before its existsSync check, so a value such as C:\project\attacker-controlled\..:1:1 resolved to C:\project and passed existence validation even though the attacker-named file did not exist. The vulnerable code path is Windows-only because it is gated on process.platform === 'win32'. This validation bypass is CWE-77-relevant because it can contribute to OS command injection when combined with the companion Windows percent-expansion flaw. The fix moves parsing into parse-file.js, strips the suffix before path.resolve, avoids resolving an empty filename to the working directory, and adjusts the UNC-path guard to check fileName directly.

Know when Node.js gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 7.5 HIGH
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
vuln.today AI 7.5 HIGH

Network-reachable middleware (AV:N) with no auth (PR:N), but Windows-only, user-interaction-dependent, and requiring a chained second flaw raise complexity to AC:H and UI:R; command injection yields full C/I/A impact.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Oct 20, 2026 - 16:02 EUVD
CVE Published
Oct 20, 2026 - 14:48 cve.org
HIGH 7.5

DescriptionCVE.org

launch-editor allows users to open files with line numbers in editor from Node.js. Prior to 2.14.2, launch-editor-middleware processes an attacker-controlled Windows file argument where the file argument ends in a parent-directory component plus a line-and-column suffix: the path is resolved while the suffix is still present, and launch-editor removes the suffix before its existsSync check, leaving the existing parent directory for existsSync and allowing the attacker-controlled file argument to pass filename existence validation without requiring the malicious filename to exist. The bypass can lead to OS command injection when combined with the separately described Windows percent-expansion flaw. This issue is fixed in version 2.14.2.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 46,998 npm packages depend on launch-editor (559 direct, 46,462 indirect)
  • 99 npm packages depend on vite (33 direct, 68 indirect)
  • 1 npm packages depend on vite-plus (1 direct, 0 indirect)

Ecosystem-wide dependent count for version 2.14.2 and other introduced versions.

Technical POC Analysis

Assigned CWE-77 (Improper Neutralization of Special Elements used in a Command).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

Launch-editor, a Windows developer tooling dependency used by Vite dev servers, has a high-severity path-validation bypass that can become OS command injection when chained with a separate Windows percent-expansion flaw. The practical exposure is concentrated in developer environments where launch-editor-middleware endpoints are reachable and users can be induced to open crafted file:line:column arguments; no public exploit identified at time of analysis. Leadership should care because a compromised developer workstation or exposed dev server can provide a foothold into source code and build pipelines, even though exploitation requires user interaction and an exposed endpoint.

Business Impact: High
Compensating Controls

Apply vendor patch (launch-editor 2.14.2 or later); until deployed, restrict launch-editor-middleware/Vite dev servers to localhost or trusted networks and disable the middleware where not needed.

Threat Intelligence Overview

EPSS Score
1.3%
Top 29% exploitable
Prevalence
High
launch-editor ships as a transitive dependency of the widely deployed Vite toolchain
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 1.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2024-41713 CRITICAL POC
9.1 Oct 21

A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could

CVE-2024-55591 CRITICAL POC
9.8 Jan 14

FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote

CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2014-7205 CRITICAL POC
10.0 Oct 08

Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t

CVE-2025-59528 CRITICAL POC
10.0 Sep 22

Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete

CVE-2017-14849 HIGH POC
7.5 Sep 28

Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc

CVE-2017-5941 CRITICAL POC
9.8 Feb 09

An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2014-3744 HIGH POC
7.5 Oct 23

Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi

CVE-2014-9566 HIGH POC
7.5 Mar 10

Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin

CVE-2013-4660 MEDIUM POC
6.8 Jun 28

The JS-YAML module before 2.0.5 for Node.js parses input without properly considering the unsafe !!js/function tag, whic

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy