Originally published on The Weekly Signal.
The Vite team released version 8.4.0 on November 26, 2026, ten days after the first beta. The headline change is security related: an opt-in, allow-list based check for which files the dev server may serve. The release also adds Wasm source phase imports, better retries for failed dynamic imports and a guard against starting the same dev server twice.
An allow-list for the dev server
Vite's server.fs check decides which files the dev server may hand out, in case the server is reachable by someone you did not intend. According to the official announcement, the old check was block-list based, which meant bypasses that exploited quirks of file systems and HTTP parsing had to be patched one by one. The team says attacks are increasing, so 8.4 adds a stricter check based on an allow-list.
Two settings matter. server.fs.strict: 'extended' applies the checks to modules loaded by plugins too, and Vite now registers modules referenced through url() in CSS, not only through import. Combine it with server.fs.allow: [] and only files referenced from the entry point, including transitive references, are served. The server options docs say strict defaults to true and that 'extended' skips module IDs starting with \0. The announcement says the team intends to make the allow-list approach the default in the next major version.
Plugin authors get a new hook-side tool: if a plugin generates a module that references an asset without import, it can call this.environment.addSafeModule so users do not have to add that asset to server.fs.allow.
Smaller changes worth knowing
- Refetching dynamic imports. The announcement says the HTML specification changed in July to let browsers retry failed module fetches, implemented in Chrome 156+, Firefox 155+ and Safari Technology Preview 252. Vite's preload helper now re-fetches the CSS of a dynamic chunk when the import runs again, so a second click can succeed after a first failure, where browser support exists.
- Subpath imports in CSS
url(). Vite tries to resolve a subpath import first and falls back to the raw hash URL if that fails. The team now recommends subpath imports overresolve.aliasor tsconfig paths, since Node.js and TypeScript support them. - Duplicate process detection. Running a dev server for the same project with similar options while one is active now exits with an error that names the running URL and PID. Passing
--bypass-lockskips the check. - Wasm source phase imports. You can write
import source mod from './mod.wasm'and get aWebAssembly.Module. The announcement says TypeScript 7.1, currently in beta, will support this, and that the team will recommend it over the Vite-specific.wasm?initonce it is stable. - Bundled dev mode for SSR. Described as highly experimental, and a foundation for meta-frameworks.
What to check before you upgrade
- Read the full changelog. It lists 55 entries, and the announcement covers only a few.
- If you run the dev server on a shared network, a container or a remote machine, try
server.fs.strict: 'extended'with a narrowserver.fs.allowin a branch and watch for 403 responses on assets that load through plugins or CSS. - If you maintain a plugin that emits modules referencing assets, check whether
this.environment.addSafeModuleapplies. - If your scripts start a dev server automatically, expect the new duplicate-process error and decide whether
--bypass-lockis appropriate.
What we did not verify
We read the official announcement, the server options documentation and the GitHub release notes, and counted the changelog entries ourselves. We did not install Vite 8.4, run the new check against a real project or test the browser retry behavior, so what is described here is the project's account, not our test. The security rationale and the plan for the next major are the Vite team's statements. We have not checked them against any specific advisory.




