CVE-2025-46565: Vite's server.fs.deny bypassed with /. for files under project root
Affects viteSource GCVE Database
Not known to be exploited · public detection template (Nuclei) · CVSS 6.0 Medium : upgrade to 6.3.4 when convenient.
Data as of 13 Nov 2026, 21:06 UTC
- Patch
- Available – fixed in 6.3.4
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 13 Aug 2026
Detectable: evidence found.
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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 6.3.4.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewvitepkg:brew/viteOther threats | Affected
| Fixed in
|
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 6.3.4 or later, where this bypass vulnerability is fixed. If upgrading is not immediately possible, avoid exposing the Vite dev server to the network by not using the --host option or server.host configuration. Restrict access to the dev server to trusted local environments only.
Description
A directory traversal bypass vulnerability in Vite's dev server allows reading files under the project root that should be denied by server.fs.deny patterns. This affects Vite versions from 2.5.1 up to but not including 6.3.4. The issue occurs when the deny patterns are circumvented using a '/.' sequence in the request path. Only applications exposing the Vite dev server to the network are impacted. A fix is available in version 6.3.4.