Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach launch-editor-middleware open-in-editor endpoint
-
DeliverySubmit crafted Windows file argument with parent-dir + line:col suffix
-
ExploitBypass filename existsSync validation
-
ExecutionChain Windows percent-expansion flaw
-
ImpactExecute 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.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- 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.
Articles & Coverage 2
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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation
A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could
FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote
Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour
Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t
Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete
Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc
An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner
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
Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi
Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin
The JS-YAML module before 2.0.5 for Node.js parses input without properly considering the unsafe !!js/function tag, whic
EUVD-2026-105035
GHSA-587h-7wmj-h5pm
NVD
CVE.org
EPSS
Exploit-DB