Skip to main content
VulnerabilityPublished Updated

CVE-2025-62522: vite allows server.fs.deny bypass via backslash on Windows

Affects viteSource GCVE Database

0
Compare
Authoritative record:CVE-2025-62522· Medium 6.0

Not known to be exploited · public detection template (Nuclei) · CVSS 6.0 Medium : upgrade to 7.1.11 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 7.1.11
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 20 Oct 2025

  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 7.1.11.

Affected software

ProductAffectedFixed in
Homebrewvitepkg:brew/viteOther threatsAffected
  • >=3.0.0 <7.1.11
Fixed in
  • 7.1.11

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

AI-suggested

A patch is available in Vite version 7.1.11 that fixes this bypass issue. Users running affected versions (>=3.0.0 <7.1.11) on Windows with the dev server exposed to the network should upgrade to 7.1.11 or later. No other mitigation is indicated by the vendor advisory.

Description

Vite versions from 3.0.0 up to but not including 7.1.11 have a vulnerability where files denied by the server.fs.deny configuration can be accessed if the URL ends with a backslash (\) on Windows. This affects development servers explicitly exposed to the network and running on Windows. The issue arises because fs.readFile treats a path with a trailing backslash as the file without it, bypassing deny patterns. A fix is available in version 7.1.11.

References

Community reviews

Loading reviews…