CVE-2026-112943
Awaiting Analysis Awaiting Analysis - Queue

launch-editor Path Traversal Vulnerability on Windows

Vulnerability report for CVE-2026-112943, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-10-20

Last updated on: 2026-10-20

Assigner: GitHub, Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-10-20
Last Modified
2026-10-20
Generated
2026-11-10
AI Q&A
2026-10-20
EPSS Evaluated
2026-11-08
NVD
EUVD

Affected Vendors & Products

Showing 7 associated CPEs
Vendor Product Version / Range
vitejs launch-editor < 2.14.2
vitejs vite >= 8.3.0, < 8.3.3
vitejs vite >= 8.2.0, < 8.2.4
vitejs vite >= 8.0.0, < 8.1.6
vitejs vite >= 7.0.0, < 7.3.7
vitejs vite < 6.4.4
vitejs vite-plus < 1.1.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-78 The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability affects the launch-editor package on Windows systems. It fails to escape the percent sign (%) when passing arguments to cmd.exe. Attackers can exploit this by manipulating environment variables or filenames containing special characters like %, leading to command injection attacks.

Detection Guidance

Check if your system uses vulnerable versions of launch-editor, vite, or vite-plus. Inspect environment variables for suspicious values containing % or ^. Review file paths for unusual characters. Use commands like 'npm list launch-editor' or 'npm list vite' to check installed versions.

Impact Analysis

If you use affected versions of launch-editor on Windows, an attacker could execute arbitrary commands on your system. This requires the attacker to control environment variables or create files with malicious names containing % or other special characters.

Compliance Impact

This vulnerability primarily affects Windows systems by allowing command injection through improper handling of percent signs in file paths. While it does not directly impact GDPR or HIPAA compliance, it could indirectly affect compliance if exploited to access or modify sensitive data. The vulnerability's limited impact on confidentiality, integrity, and availability (CVSS 6.3) suggests minimal direct regulatory impact.

Mitigation Strategies

Upgrade launch-editor to version 2.14.2 or later. Avoid using environment variables in file paths. Remove or sanitize any environment variables containing % or ^. Monitor for files with malicious names containing special characters.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-112943. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...