CVE-2026-140097
CVE-2026-140097 — Vite: Remote code execution using `__vite-browser-external` virtual module
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.
Published Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
2%
chance of exploitation in 30 days
CVSS base
9.1
CRITICAL
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
PoC
none · proof-of-concept · active
Automatable
Yes
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (2)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 9.1 | CVSS 4.0 | CRITICAL | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-116
References
16 on the record
- github.com/vitejs/vite/security/advisories/GHSA-p4f5-76q4-ffq7
x_refsource_CONFIRM
- github.com/vitejs/vite/pull/24043
x_refsource_MISC
- github.com/vitejs/vite/pull/24044
x_refsource_MISC
- github.com/vitejs/vite/commit/4b4291018a34d1591a6a18ab5c406d5b6a7a4ea1
x_refsource_MISC
- github.com/vitejs/vite/commit/517affb174632db347a6a2426f12eab020277946
x_refsource_MISC
- github.com/vitejs/vite/commit/8ef8a1b27bcd0e8e7693569f98b52b1b111025ca
x_refsource_MISC
- github.com/vitejs/vite/commit/e5f23b60f0c46a906a60986faad88a5bd7611a15
x_refsource_MISC
- github.com/vitejs/vite/blob/v6.4.6/packages/vite/CHANGELOG.md
x_refsource_MISC
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2025-31125 Vite has a `server.fs.deny` bypassed for `inline` and `raw` with `?import` queryCVSS 7.5 · CISA KEV
- CVE-2024-10441 Synology DiskStation Manager (DSM) Improper Encoding or Escaping of Output VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2022-42948 Fortra Cobalt Strike User Interface Remote Code Execution VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2024-38475 Apache HTTP Server weakness in mod_rewrite when first segment of substitution matches filesystem path.CVSS 9.1 · CISA KEV
- CVE-2026-20245 Cisco Catalyst SD-WAN Controller Authenticated Privilege Escalation VulnerabilityCVSS 7.8 · CISA KEV
- CVE-2022-24682 Synacor Zimbra Collaborate Suite (ZCS) Cross-Site Scripting VulnerabilityCVSS 6.1 · CISA KEV
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.