Home

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.

PUBLISHED Reserved 2026-04-06 | Published 2026-04-07 | Updated 2026-04-07 | Assigner GitHub_M




HIGH: 8.2CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Problem types

CWE-180: Incorrect Behavior Order: Validate Before Canonicalize

CWE-284: Improper Access Control

Product status

>= 8.0.0, < 8.0.5
affected

>= 7.1.0, < 7.3.2
affected

< 0.1.16
affected

References

github.com/...s/vite/security/advisories/GHSA-v2wj-q39q-566r

cve.org (CVE-2026-39364)

nvd.nist.gov (CVE-2026-39364)

Download JSON