Vite Development Server File-Access Deny-List Bypass
CVE-2026-39364 is an unauthenticated file-disclosure vulnerability affecting Vite 7.1.0–7.3.1 and 8.0.0–8.0.4. Crafted query parameters on requests to the development server's internal filesystem-serving route bypass server.fs.deny restrictions. Parameters such as ?raw, ?import&raw, or ?import&url&inline can cause otherwise blocked files within server.fs.allow-permitted directories to be returned with HTTP 200 responses. The vulnerability can expose sensitive configuration, credentials, and certificate material when the development server is network-accessible.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation compromises the confidentiality of restricted files accessible to the Vite development server within allowed directories. Disclosed information may include API keys, database passwords, cloud access keys, access tokens, session secrets, certificate material, and infrastructure state. Stolen credentials may enable unauthorized access to cloud resources, databases, or applications, depending on their privileges and validity. The vulnerability itself provides file disclosure, not direct code execution.
If you can’t patch tonight, do this now.
Until patched, avoid exposing the development server through --host or server.host and restrict it to trusted local interfaces. Remove sensitive files from directories permitted by server.fs.allow. Audit container port mappings, Kubernetes ingress, reverse proxies, firewalls, and cloud security groups to prevent unintended exposure. Block external access to the configured development-server port, commonly 5173.
Patch, then assume compromise.
Upgrade Vite to 7.3.2 or later in the 7.x branch, 8.0.5 or later in the 8.x branch, or a newer supported release. For previously exposed vulnerable instances, rotate or revoke potentially disclosed credentials and secrets, and review application and cloud audit logs for unauthorized access, privilege escalation, persistence, and resource creation.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
34 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.