Skip to main content
Network Thinking Solutions Logo

CVE-2026-112942

launch-editor: fs.existsSync() existence check can be bypassed on Windows

All CVEs
CVE-2026-112942Published 10/20/2026

launch-editor: fs.existsSync() existence check can be bypassed on Windows

Vendor advisory
CVSS7.5High

Overview

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.

Published
10/20/2026
Last modified
10/21/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
launch-editor
vitejs
< 2.14.2

Verify advisory

Source
vite
vitejs
>= 8.3.0, < 8.3.3

Verify advisory

Source
vite
vitejs
>= 8.2.0, < 8.2.4

Verify advisory

Source
vite
vitejs
>= 8.0.0, < 8.1.6

Verify advisory

Source
vite
vitejs
>= 7.0.0, < 7.3.7

Verify advisory

Source
vite
vitejs
< 6.4.4

Verify advisory

Source
vite-plus
vitejs
< 1.1.0

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.