← 漏洞与更新

中危漏洞公告JavaScript / Node.js

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

受影响

软件包受影响版本修复版本
npm:vite= 8.4.0-beta.18.4.0-beta.2

> [!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://…

在 GitHub Advisory Database 阅读

2026/12/02 04:02,GitHub Advisory Database 发布了“Vite [beta only]: files otuside `server.fs.allow` and not included in `server.fs.deny` can be served by two requests using `?worker`”(类型:漏洞公告)。严重程度为“中危”(medium)。相关技术:JavaScript / Node.js。CVE:CVE-2026-140098。