home / blog
2026-12-01 · critical
CVE-2026-140097: Critical Vite RCE Vulnerability
CVE-2026-140097: Critical Vite vulnerability enables RCE via module identifier injection.

CVE-2026-140097 is a critical vulnerability in Vite, the JavaScript frontend tooling framework. The vulnerability allows a remote unauthenticated attacker to 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.
The vulnerability has a CVSS score of 9.1, classifying it as critical, and was fixed in Vite versions 6.4.6, 7.3.8, 8.1.7, 8.2.5, 8.3.7 and in vite-plus 1.5.1. The vulnerability was published on the NVD on November 30, 2026 and has already generated 7 posts in the last 24 hours on social media, indicating significant attention from the security community.
Organizations using Vite for development environments exposed to the network should immediately update to patched versions. If updating is not immediately possible, it is recommended to isolate development servers from the public network and limit access to authorized personnel only. Monitor official Vite project communications for any updates or clarifications regarding the vulnerability.
At a glance
- What
- Escaping vulnerability in __vite-browser-external and __vite-optional-peer-dep virtual module identifiers
- Severity
- Critical (CVSS 9.1)
- Affected versions
- Vite 4.0.0 up to 6.4.6, 7.3.8, 8.1.7, 8.2.5, 8.3.7 and vite-plus < 1.5.1
- Fix
- Vite 6.4.6, 7.3.8, 8.1.7, 8.2.5, 8.3.7 and vite-plus 1.5.1
- Status
- Published on 2026-11-30, patch available
- Action
- Update immediately to patched versions
Sources: NVD, CVE-2026-140097