Skip to main content
VulnerabilityPublished Updated

CVE-2025-46565: Vite's server.fs.deny bypassed with /. for files under project root

Affects viteSource GCVE Database

0
Compare

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

CVSS 4.0 base score
6.0Medium
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 Aug 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 6.3.4.

Affected software

ProductAffectedFixed in
Homebrewvitepkg:brew/viteOther threatsAffected
  • >=2.5.1 <6.3.4
Fixed in
  • 6.3.4

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.

References

Community reviews

Loading reviews…