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.

Project Subscriptions

No data.

Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Mon, 30 Nov 2026 22:45:00 +0000

Type Values Removed Values Added
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.
Title Vite [beta only]: files otuside `server.fs.allow` and not included in `server.fs.deny` can be served by two requests using `?worker`
Weaknesses CWE-200
References
Metrics cvssV4_0

{'score': 6.9, 'vector': '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'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-11-30T22:30:38.385Z

Reserved: 2026-11-30T20:55:13.434Z

Link: CVE-2026-140098

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-30T23:17:24.400

Modified: 2026-11-30T23:17:24.400

Link: CVE-2026-140098

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses