PoC Monitor
← All CVEs
CVE-2026-112942published 20 Oct 2026 14:48 UTCData: JSON · API

Vitejs launch-editor

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

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by CNA · CWE-77
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

vitejs launch-editor
  • < 2.14.2

Fixed in 2.14.2

vitejs 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

Fixed in 8.3.3, 8.2.4, 8.1.6, 7.3.7, 6.4.4

vitejs vite-plus
  • < 1.1.0

Fixed in 1.1.0

Mitigation

Upgrade launch-editor to 2.14.2 or later.

Upgrade vite to 8.3.3 or 8.2.4 or 8.1.6 or 7.3.7 or 6.4.4 or later.

Upgrade vite-plus to 1.1.0 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published20 Oct 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.