CVE-2026-112942: launch-editor: `fs.existsSync()` existence check can be bypassed on Windows
Vulnerability summary
CVE-2026-112942 is a high (CVSS 7.5) vulnerability in vitejs launch-editor. EPSS estimates a 1.69% chance of exploitation in the next 30 days, higher than 77.9% of scored vulnerabilities.
Not severe (CVSS 7.5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 20-10-2026PublishedVulnerability first disclosed.
- 21-10-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
5 scores · 5 sources · 1 version- NVDNIST7.5HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · NpmEcosystem advisory · calculated7.5HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- OSV · WolfiEcosystem advisory · calculated7.5HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS trend
Probability
1.69%
Chance of exploitation in the next 30 days
Percentile
78%
Versus all other CVEs
30-day change
Increase +0.35 pp
From 1.34% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard23 products
- arangodb-3.12All versions (No fix recorded) | < 3.12.12.1-r10
- commercial-gitlab-rails-ee-fips-19.1All versions (No fix recorded) | < 19.1.9-r0
- gitlab-rails-ce-18.10All versions (No fix recorded)
- gitlab-rails-ce-18.11All versions (No fix recorded) | < 18.11.13-r0
- gitlab-rails-ce-18.8All versions (No fix recorded)
Npm3 products
- launch-editor< 2.14.2
- vite≥ 8.3.0, < 8.3.3 | ≥ 8.2.0, < 8.2.4 | ≥ 8.0.0, < 8.1.6 | ≥ 7.0.0, < 7.3.7 | < 6.4.4
- vite-plus< 1.1.0
Vitejs3 products
- launch-editor< 2.14.2
- vite≥ 8.3.0, < 8.3.3 | ≥ 8.2.0, < 8.2.4 | ≥ 8.0.0, < 8.1.6 | ≥ 7.0.0, < 7.3.7 | < 6.4.4
- vite-plus< 1.1.0
Wolfi3 products
- kubeflow-pipelines-frontendAll versions (No fix recorded) | < 2.17.2-r16
- langfuse-3-workerAll versions (No fix recorded) | < 3.225.12-r3
- nextcloud-server-33All versions (No fix recorded) | < 33.0.10-r2
4 vendors · 32 products
References
6 links- github.com/vitejs/launch-editor/security/advisories/GHSA-587h-7wmj-h5pmX Refsource CONFIRMWEBAdvisory
- github.com/vitejs/launch-editor/commit/f13cd835d4b8e860b1d4d080ad8a490cc2463679X Refsource MISCWEBFIX