6.9

CVE-2026-140098: Vite [beta only]: files otuside `server.fs.allow` and not included in `server.fs.deny` can be served by two requests using `?worker`

Received
AliasesGHSA-qppr-rxr4-jjq2
Published 30-11-2026Last modified 01-12-2026

Vulnerability summary

CVE-2026-140098 is a medium (CVSS 6.9) vulnerability in vitejs vite. EPSS estimates a 0.65% chance of exploitation in the next 30 days, higher than 52.5% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.9, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.9/10
010
Medium · v4.0 (CVE.org)
EPSS score
0.65%
0%100%
Low · Change unavailable
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 30-11-2026
    PublishedVulnerability first disclosed.
  2. 01-12-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.65%

Chance of exploitation in the next 30 days

Percentile

53%

Versus all other CVEs

30-day change

Change unavailable

Change unavailable

01-12-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Npm1 product
  • vite≥ 8.4.0-beta.1, < 8.4.0-beta.2
Vitejs1 product

2 vendors · 2 products

References

8 links