CVE-2026-140097vite Vulnerability
Remote code execution using vite-browser-external virtual module
Published Nov 10, 2026 · Updated Dec 1, 2026 · Also known as EUVD-2026-139792, GHSA-p4f5-76q4-ffq7
Key Facts
Patch immediately- CVE-2026-140097 is a critical-severity vulnerability (CVSS 9.1 v4) affecting vite (npm), vite-plus (npm), vitejs/vite.
- It is not listed in any known-exploited vulnerabilities catalog. A public exploit is reported by tracking sources, but no code link is listed yet.
- EPSS estimates a 1.8% probability of exploitation in the next 30 days.
- Fixed versions are available, including vite 6.4.6, vite 7.3.8, vite 8.1.7.
- Brandefense priority: patch immediately, because public exploit code exists for a high-severity flaw.
Scores
CVSS v4
9.1
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
EPSS (30-day exploit likelihood)
1.8%
Higher than 79.5% of all scored CVEs
Exploit maturity
None known
ATLAS score
29/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
None known
Public exploit code
0
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
Description
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: and __vite-optional-peer-dep: 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.
Affected Products
5 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| vitenpm | >= 8.3.0, >= 8.0.0, | 8.3.7 |
| vite-plusnpm | See advisory | 1.5.1 |
| vitejs/vite | See advisory | n/a |
Patched Releases
vite
6.4.6, 7.3.8, 8.1.7, 8.2.5, 8.3.7
vite-plus
1.5.1
vitejs/vite
1.5.1, 6.4.6, 7.3.8, 8.1.7, 8.2.5, 8.3.7
Timeline
Publicly disclosed
Nov 10, 2026
Last updated
Dec 1, 2026
Weakness Type
- CWE-116 Improper Encoding or Escaping of Output
References
- advisorycve.org · CVERecord
- advisorynvd.nist.gov · CVE-2026-140097
- advisoryhttps://github.com/vitejs/vite/security/advisories/GHSA-p4f5-76q4-ffq7
- otherhttps://github.com/vitejs/vite/blob/v6.4.6/packages/vite/CHANGELOG.md
- otherhttps://github.com/vitejs/vite/blob/v7.3.8/packages/vite/CHANGELOG.md
FAQ
Common Questions.
Vite is a frontend tooling framework for JavaScript.
Affected: vite (npm) versions >= 8.3.0, >= 8.0.0,; vite-plus (npm); vitejs/vite. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
A public exploit is reported by tracking sources, but no code link is listed yet.
Fixed versions are available, including vite 6.4.6, vite 7.3.8, vite 8.1.7.
Brandefense priority: patch immediately, because public exploit code exists for a high-severity flaw.
Is CVE-2026-140097 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo