CVE-2026-112942
Description
A flaw was found in launch-editor. This vulnerability can allow a remote attacker to achieve arbitrary command execution on Windows systems. By submitting a specially crafted file path containing line and column suffixes, an attacker can bypass file existence checks due to improper path validation. Consequently, this flaw can be leveraged to execute unauthorized operating system commands on the host.
Statement
Red Hat has evaluated this vulnerability as having an Important impact due to the severe potential blast radius of arbitrary command execution if an untrusted file path is evaluated by the service. However, this attack vector relies on Windows-specific path resolution and shell argument expansion behaviors to bypass file existence checks. Because Red Hat enterprise platforms and container images operate on Linux environments, the platform-specific mechanisms required to achieve exploitation are not present in standard deployments.
Mitigation
--- CME Mitigation Guidance (2026-10-20) ---
Disclaimer: The following mitigation solutions are provided as a courtesy, pending the application of an official patch. This content was generated utilizing AI tools in conjunction with data from https://cmetaxonomy.org. Customers are advised to independently evaluate and test these temporary mitigations within their own infrastructure.
The highest-value action is to eliminate shell invocation when launching editor processes on Windows hosts to prevent percent-variable expansion: upgrade to launch-editor 2.14.2 (or the fixed Grafana/Prometheus builds), which resolve file paths with path.resolve() immediately after stripping line and column position suffixes and check UNC paths on the resolved file name, closing all 3 injection vectors (crafted file path with position suffixes, parent-directory traversal bypass, Windows percent-variable expansion). Until patched, this is only a concern on Windows hosts running launch-editor or launch-editor-middleware endpoints — non-Windows platforms are unaffected — so restrict network access to endpoints exposing launch-editor-middleware and audit file path inputs to block parent-directory sequences and percent characters. As a compensating measure, enforce strict allowlist validation to restrict path characters and reject unexpected percent signs and coordinate suffix formats, deploy a web application firewall to detect and block incoming HTTP requests with traversal patterns or command injection characters, deploy Windows Defender Application Control in enforced mode to block unauthorized binaries an injected subcommand might drop, and configure endpoint detection and response agents to monitor and alert on anomalous child process creation spawned from Node.js. These controls limit blast radius and contain exploitation, but they do not fix the underlying improper path validation defect — apply the upstream patch to fully remediate.
Highest-impact CME: CME-1301 Path Traversal Prevention (Canonicalization) (high)
Common Vulnerability Scoring System (CVSS) Score Details
Info alert:Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).
The following CVSS metrics and score provided are preliminary and subject to review.
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 8.8 | N/A | N/A |
| Attack Vector | Network | N/A | N/A |
| Attack Complexity | Low | N/A | N/A |
| Privileges Required | None | N/A | N/A |
| User Interaction | Required | N/A | N/A |
| Scope | Unchanged | N/A | N/A |
| Confidentiality | High | N/A | N/A |
| Integrity Impact | High | N/A | N/A |
| Availability Impact | High | N/A | N/A |
Vector
Red Hat: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.