CVE-2026-140098

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

No CVSS.

Configurations

No configuration.

History

30 Nov 2026, 23:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-11-30 23:17

Updated : 2026-12-01 14:18


NVD link : CVE-2026-140098

Mitre link : CVE-2026-140098

CVE.ORG link : CVE-2026-140098


JSON object : View

Products Affected

No product.

CWE
CWE-200

Exposure of Sensitive Information to an Unauthorized Actor