CVE-2026-140098Vite [beta only]: files otuside `server.fs.allow` and not included in `server.fs.deny` can be served by two requests using `?worker`
- 6.9MediumCVSS base score
- 0.65%Exploitation in 30 daysEPSS · top 47% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
Vite is a frontend tooling framework for JavaScript. In 8.4.0-beta.1, a network-exposed development server can register a request-chosen file outside server.fs.allow in config.environments.client.safeModulePaths when processing ?worker&import or ?sharedworker&import, while ?wasm, ?init&import, and ?source&import can register request-chosen .wasm files through the same mechanism. An unauthenticated attacker can first request an outside path with one of the applicable queries and then request the same path normally, causing the safe-path check to bypass server.fs.allow and disclose the file unless server.fs.deny matches it. This issue is fixed in 8.4.0-beta.2.
Timeline
ID reserved
By GitHub_M
Published
- 1 day later
· 1 day later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 4.0 | Medium6.9 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:H/SI:N/SA:N |
| NVDNVD · Received | 4.0 | Medium6.9 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:H/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
- EPSS (exploitation in 30 days)
- 0.65% · top 47% of all CVEs (5 Dec 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.9.
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
References
References6
- https://github.com/vitejs/vite/security/advisories/GHSA-qppr-rxr4-jjq2 (opens in a new tab)x_refsource_CONFIRM
- https://github.com/vitejs/vite/pull/23168 (opens in a new tab)x_refsource_MISC
- https://github.com/vitejs/vite/pull/24206 (opens in a new tab)x_refsource_MISC
- https://github.com/vitejs/vite/commit/a78fb8a28db01e83611120012bd5d1189bab68aa (opens in a new tab)x_refsource_MISC
- https://github.com/vitejs/vite/commit/e258ce140eef64cf89ff38c410125abd8726f274 (opens in a new tab)x_refsource_MISC
- https://github.com/vitejs/vite/releases/tag/v8.4.0-beta.2 (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-139790 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-qppr-rxr4-jjq2 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-140098)Record last updated .