Skip to main content
VulnerabilityPublished Updated

CVE-2026-39364: Vite · `server.fs.deny` bypassed with queries

Affects viteSource GCVE Database

0
Compare
Authoritative record:CVE-2026-39364· High 8.2

Not known to be exploited · public detection template (Nuclei) · CVSS 8.2 High : upgrade to 8.0.5 soon.

Data as of 13 Nov 2026, 21:04 UTC

CVSS 4.0 base score
8.2High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 8.0.5
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 7 Apr 2026

  2. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  3. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  4. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.

What to do

Upgrade vite to 8.0.5.

Affected software

ProductAffectedFixed in
Homebrewvitepkg:brew/viteOther threatsAffected
  • >=7.1.0 <8.0.5
Fixed in
  • 8.0.5

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade Vite to version 8.0.5 or later where this vulnerability is fixed. Until then, avoid exposing the Vite dev server to the network (do not use --host or server.host to bind publicly) and ensure sensitive files are not located in directories allowed by server.fs.allow. The vendor has provided an official fix in version 8.0.5.

Description

A vulnerability in Vite dev server allows bypassing the server.fs.deny file access restrictions by appending certain query parameters to requests. This can expose sensitive files such as .env or certificate files to the browser if the server is explicitly exposed to the network and the files reside in allowed directories. The issue affects Vite versions from 7.1.0 up to but not including 8.0.5 and has a high severity CVSS score of 8.2.

References

Community reviews

Loading reviews…