CVE Professor
/
All CVEs
CVE-2026-140098

CVE-2026-140098 — Vite — CWE-200

MEDIUM CVSS 6.9 ⚡ EPSS 0.7% GitHub

> [!IMPORTANT] > **This advisory only affects beta versions.** ### Summary With 8.4.0-beta.1, the contents of files that are outside [`server.fs.allow`](https://vite.dev/config/server-options#server-fs-allow) and not included in [`server.fs.deny`](https://vite.dev/config/server-options#server-fs-deny) can be returned to the browser. ### Impact Only apps that match the following conditions are affected: - explicitly exposes the Vite dev server to the network (using `--host` or [`server.host` config option](https://vitejs.dev/config/server-options.html#server-host)) - the sensitive file exists is not specified by [server.fs.deny](https://vite.dev/config/server-options#server-fs-deny) - Uses v8.4.0-beta.1 ### Details In 8.4.0-beta.1, a dev server can be made to serve any file outside `server.fs.allow` that is not matched by `server.fs.deny`, with two unauthenticated GET requests and no preconditions: 1. `GET /@fs/<absolute-path>?worker&import`. The worker plugin generates a `WorkerWrapper` module whose body embeds the request-chosen path, and in doing so registers the absolute path in `config.environments.client.safeModulePaths`. 2. `GET /@fs/<absolute-path>` 200 with the file content. The safeModulePaths check short-circuits before the `fs.allow` check. Only `server.fs.deny` matches keep working after registration. `?sharedworker&import` triggers the same flow, and `?wasm` / `?init&import` / `?source&import` queries register `.wasm` files the same way. This is new in

> [!IMPORTANT] > **This advisory only affects beta versions.** ### Summary With 8.4.0-beta.1, the contents of files that are outside [`server.fs.allow`](https://vite.dev/config/server-options#server-fs-allow) and not included in [`server.fs.deny`](https://vite.dev/config/server-options#server-fs-deny) can be returned to the browser. ### Impact Only apps that match the following conditions are affected: - explicitly exposes the Vite dev server to the network (using `--host` or [`server.host` config option](https://vitejs.dev/config/server-options.html#server-host)) - the sensitive file exists is not specified by [server.fs.deny](https://vite.dev/config/server-options#server-fs-deny) - Uses v8.4.0-beta.1 ### Details In 8.4.0-beta.1, a dev server can be made to serve any file outside `server.fs.allow` that is not matched by `server.fs.deny`, with two unauthenticated GET requests and no preconditions: 1. `GET /@fs/<absolute-path>?worker&import`. The worker plugin generates a `WorkerWrapper` module whose body embeds the request-chosen path, and in doing so registers the absolute path in `config.environments.client.safeModulePaths`. 2. `GET /@fs/<absolute-path>` 200 with the file content. The safeModulePaths check short-circuits before the `fs.allow` check. Only `server.fs.deny` matches keep working after registration. `?sharedworker&import` triggers the same flow, and `?wasm` / `?init&import` / `?source&import` queries register `.wasm` files the same way. This is new in

CVSS v4.0 Vector Metrics
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
Attack Vector Network AV:N
Attack Complexity Low AC:L
Attack Reqs. Present AT:P
Privileges Req. None PR:N
User Interaction None UI:N
Vuln. Conf. Low VC:L
Vuln. Integrity None VI:N
Vuln. Avail. None VA:N
Subseq. Conf. High SC:H
Subseq. Integ. None SI:N
Subseq. Avail. None SA:N
EPSS — Exploit Prediction Scoring System
0.7%
30-day probability
In the 53. percentile of all CVEs — higher exploitation probability than most vulnerabilities.
AI Security Analysis & Remediation

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-140098
CVSS 6.9/10 · MEDIUM · 30.11.2026
CWE: CWE-200
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
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 WHAT IS THIS VULNERABILITY?
Summary: > [!IMPORTANT]

This advisory only affects beta versions.

Summary

With 8.4.0-beta.1, the contents of files that are outside [server.fs.allow](https://vite.dev/config/server-options#server-fs-allow) and not included in [server.fs.deny](https://vite.dev/config/server-options#server-fs-deny) can be returned to the browser. ### Impact

Only apps that match the following conditions ar…
Affected: vite

⚡ ATTACK VECTOR
Network / Remote (AV:N) · no authentication required (PR:N) · no user interaction (UI:N) · low attack complexity (AC:L).

🌍 REAL WORLD IMPACT
All confidential data readable/stealable.

🛡️ REMEDIATION
→ Apply vendor security update for vite.
→ Pre-patch: put service behind VPN or apply IP allowlist.
→ Add WAF rule, create IDS alert for anomalous traffic.

⚠️ URGENCY
📋 Routine update cycle (30 days)

────────────────────────────────────────
[Automated Technical Vulnerability & CVSS Vector Analysis]

Target Reconnaissance Queries (FOFA & Shodan)
CVSS Score
6.9 / 10 · CVSS MEDIUM
Weakness Types (CWE)
Affected Products (1)
vite
References & Advisories (4)
Related CVEs
5.1
CVE-2026-145257
Mealie before 3.31.0 contains an HTML injection vulnerability that allows authenticated users with GROUP_INVIT
3.1
CVE-2026-145184
Internxt drive-server-wip before commit d1f51c9 contains an improper authorization vulnerability in SharingSer
9.2
CVE-2026-115991
Exposure of sensitive information in the content lock-check endpoints (PUT /api/content/canLock and GET /api/v
6.9
CVE-2026-77469
FediHome is a self-hosted, single-user publishing platform that connects to the Fediverse via ActivityPub. Pri
6.9
CVE-2026-132094
Improper access control in the content search and asset delivery paths (GraphQL search and collection queries,
6.5
CVE-2026-77461
ORAS is a tool for working with OCI Artifacts. Prior to version 0.6.0, the auth client blindly follows the rea
6.3
CVE-2026-132114
Exposure of sensitive information in the workflow Velocity context (VelocityUtil.getWorkflowContext) in dotCMS