patchminder
Proof of concept · CISA assessment CVE-2026-140097

Remote code executionin vitejs vite.

Published 30 Nov 2026 · Updated 1 Dec 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks. assessment).

Severity
Critical 9.1
CVSSA severity score from 0 to 10. 9 and higher is critical. 4.0 · no login needed
Attack likelihood
Moderate
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 1.8% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed versions listed below
In plain words

Vite is a frontend tooling framework for JavaScript. From 4.0.0 until 6.4.6, 7.3.8, 8.1.7, 8.2.5, and 8.3.7 in Vite, and prior to 1.5.1 in vite-plus, a network-exposed development server embeds request-derived module identifiers from the __vite-browser-external:<suffix> and __vite-optional-peer-dep:<suffix> virtual modules into trusted generated JavaScript without escaping. A remote unauthenticated attacker can inject an import that adds an outside file to the server.fs module allow list and can reach server-side evaluation through new Worker or import.meta.glob processing, allowing disclosure of local files and arbitrary code execution in the development-server process. This issue is fixed in Vite 6.4.6, 7.3.8, 8.1.7, 8.2.5, and 8.3.7, and in vite-plus 1.5.1.

What to do now
  • Upgrade vite to 6.4.6, 7.3.8, 8.1.7, 8.2.5, 8.3.7 or later, whichever matches your release line.
  • Upgrade vite-plus to 1.5.1 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
vite
4.0.0 to before 6.4.6
6.4.6
CVE record
vite
7.0.0 to before 7.3.8
7.3.8
CVE record
vite
8.0.0 to before 8.1.7
8.1.7
CVE record
vite
8.2.0 to before 8.2.5
8.2.5
CVE record
vite
8.3.0 to before 8.3.7
8.3.7
CVE record
vite-plus
before 1.5.1
1.5.1
CVE record

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 30 Nov 2026
    CVE ID reserved by GitHub_M.
  2. 30 Nov 2026
    Published in the CVE List.
  3. 1 Dec 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (CISA assessment). CISA assessment (SSVC): exploitation poc.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other vite vulnerabilities

Same weakness: Improper output encoding

All CWE-116 vulnerabilities

References
Cite this page

Patchminder. CVE-2026-140097: Remote code execution in vitejs vite. https://patchminder.com/cve/cve-2026-140097/ (accessed 5 December 2026).