Skip to main content
VulnerabilityPublished Updated

CVE-2026-112942: vitejs launch-editor · Command Injection

Affects vitejs launch-editorSource CVE Database V5

0

Not known to be exploited · CVSS 7.5 High : upgrade to 2.14.2 soon.

Data as of 26 Oct 2026, 13:47 UTC

CVSS 4.0 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
1.3% chance of exploitation in 30 days – higher than 71% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.14.2, 8.3.3, 8.2.4 +4
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
vitejslaunch-editorAffected
  • <2.14.2
Fixed in
  • 2.14.2
vitejsviteAffected
  • >=8.3.0 <8.3.3
Fixed in
  • 8.3.3
vitejsviteAffected
  • >=8.2.0 <8.2.4
Fixed in
  • 8.2.4
vitejsviteAffected
  • >=8.0.0 <8.1.6
Fixed in
  • 8.1.6
vitejsviteAffected
  • >=7.0.0 <7.3.7
Fixed in
  • 7.3.7
vitejsviteAffected
  • <6.4.4
Fixed in
  • 6.4.4

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade vitejs launch-editor to version 2.14.2 or later, where this vulnerability is fixed. No other mitigation or temporary workaround is indicated in the provided data.

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.

References

Community reviews

Loading reviews…