npm package
vite vulnerabilities by version
The latest release, 8.4.0 (Nov 26, 2026), has no known vulnerabilities. 46% of last week’s 270M downloads went to versions with known vulnerabilities. OSV.dev lists 30 advisories for vite; the newest was published on Dec 1, 2026.
npm (opens in a new tab) describes it as “Native-ESM powered web dev build tool”
- Latest release
- 8.4.0
- Nov 26, 2026, no known vulnerabilities
- Downloads last week
- 270M
- All versions, from npm
- Advisories on OSV.dev
- 30
- Newest Dec 1, 2026
- Licence
- MIT
Most-downloaded versions last week
From npm’s per-version download counts for the last 7 days, each checked against OSV.dev. Open a version for its advisories and what to upgrade to.
Who is still on a vulnerable vite
46% of last week’s 270M vite downloads went to versions with known vulnerabilities.
From npm’s per-version download counts for the last 7 days, each version checked against OSV.dev. The versions checked cover over 99% of downloads.
Release lines
The newest release of each major line, from the registry. vite doesn’t publish support dates we can check.
Newest advisories
The 5 most recently published, with the versions each one affects.
WarningCVE-2026-140098 on OSV.dev (opens in a new tab)GHSA-qppr-rxr4-jjq2
Vite [beta only]: files otuside `server.fs.allow` and not included in `server.fs.deny` can be served by two requests using `?worker`
Affects >= 8.4.0-beta.1, < 8.4.0-beta.2. Published Dec 1, 2026.
WarningCVE-2026-118662 on OSV.dev (opens in a new tab)GHSA-8g5g-mxqh-grgj
Vite: `server.fs.deny` bypassed with queries
Affects >= 6.4.4, < 6.4.5. Published Oct 29, 2026.
LowCVE-2026-112945 on OSV.dev (opens in a new tab)GHSA-9jrq-w75r-8gcw
Vite: Cross origin script execution through Vite custom middleware
Affects >= 8.3.0, < 8.3.3; >= 8.2.0, < 8.2.4; >= 8.0.0, < 8.1.6; >= 7.0.0, < 7.3.7; < 6.4.4. Published Oct 21, 2026.
WarningCVE-2026-112946 on OSV.dev (opens in a new tab)GHSA-rq7h-c2jc-7f22
Vite: Files outside `server.fs.allow` could be served when project paths match system paths on non-Windows machine
Affects >= 8.3.0, < 8.3.3; >= 8.2.0, < 8.2.4; >= 8.0.0, < 8.1.6; >= 7.0.0, < 7.3.7; < 6.4.4. Published Oct 21, 2026.
WarningCVE-2026-112947 on OSV.dev (opens in a new tab)GHSA-vfpm-58rq-9qcg
Vite: First 4 bytes of files outside of `server.fs` setting is exposed by `?vite-wasm-instance`
Affects >= 8.3.0, < 8.3.3; >= 8.2.0, < 8.2.4. Published Oct 21, 2026.
All 30 advisories are on OSV.dev (opens in a new tab).
Which vite do you have?
Paste a public GitHub repo or drop your package.json and see every vulnerable, end-of-life or deprecated dependency, with one fix task for your coding agent. Free, no sign-up.
How this page is checked
StackPrism reads every OSV.dev advisory for vite, merges duplicates filed under several ids, and asks OSV.dev which ones affect each version listed. Releases and their dates come from deps.dev, downloads from npm. No AI writes this page: every sentence comes from that data, refreshed every few hours.