Read the docs
TI-2025-38762 Aliases CVE-2025-62522GHSA-93m4-6634-74q7

vite allows server.fs.deny bypass via backslash on Windows

Priority MEDIUM 60CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
Present
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-22 and the CVSS impact.

Summary

Vite is a frontend tooling framework for JavaScript. In versions from 2.9.18 to before 3.0.0, 3.2.9 to before 4.0.0, 4.5.3 to before 5.0.0, 5.2.6 to before 5.4.21, 6.0.0 to before 6.4.1, 7.0.0 to before 7.0.8, and 7.1.0 to before 7.1.11, files denied by server.fs.deny were sent if the URL ended with \ when the dev server is running on Windows. Only apps explicitly exposing the Vite dev server to the network and running the dev server on Windows were affected. This issue has been patched in versions 5.4.21, 6.4.1, 7.0.8, and 7.1.11.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.01054 64th percentileScored 2026-11-07
Fix Fixed vite (vitejs): 7.1.11, 7.0.8, 6.4.1 +4vite (npm): 7.1.11, 7.0.8, 6.4.1 +1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
vitejsvite7.1.0 to before 7.1.11; 7.0.0 to before 7.0.8; 6.0.0 to before 6.4.1; 5.2.6 to before 5.4.21; 4.5.3 to before 5.0.0; 3.2.9 to before 4.0.0; 2.9.18 to before 3.0.07.1.11, 7.0.8, 6.4.1, 5.4.21, 5.0.0, 4.0.0, 3.0.0Patch availableCNA
—vite (npm)7.1.0 to before 7.1.117.1.11Patch availableGHSA-93m4-6634-74q7
—vite (npm)7.0.0 to before 7.0.87.0.8Patch availableGHSA-93m4-6634-74q7
—vite (npm)6.0.0 to before 6.4.16.4.1Patch availableGHSA-93m4-6634-74q7
—vite (npm)2.9.18 to before 5.4.215.4.21Patch availableGHSA-93m4-6634-74q7
—vite (npm)3.2.9 to before 5.4.215.4.21Patch availableGHSA-93m4-6634-74q7
—vite (npm)4.5.3 to before 5.4.215.4.21Patch availableGHSA-93m4-6634-74q7
—vite (npm)5.2.6 to before 5.4.215.4.21Patch availableGHSA-93m4-6634-74q7
  • vite Vendorvitejs Affected 7.1.0 to before 7.1.11; 7.0.0 to before 7.0.8; 6.0.0 to before 6.4.1; 5.2.6 to before 5.4.21; 4.5.3 to before 5.0.0; 3.2.9 to before 4.0.0; 2.9.18 to before 3.0.0 Fixed in 7.1.11, 7.0.8, 6.4.1, 5.4.21, 5.0.0, 4.0.0, 3.0.0 Patch available CNA
  • vite (npm) Vendor— Affected 7.1.0 to before 7.1.11 Fixed in 7.1.11 Patch available GHSA-93m4-6634-74q7
  • vite (npm) Vendor— Affected 7.0.0 to before 7.0.8 Fixed in 7.0.8 Patch available GHSA-93m4-6634-74q7
  • vite (npm) Vendor— Affected 6.0.0 to before 6.4.1 Fixed in 6.4.1 Patch available GHSA-93m4-6634-74q7
  • vite (npm) Vendor— Affected 2.9.18 to before 5.4.21 Fixed in 5.4.21 Patch available GHSA-93m4-6634-74q7
  • vite (npm) Vendor— Affected 3.2.9 to before 5.4.21 Fixed in 5.4.21 Patch available GHSA-93m4-6634-74q7
  • vite (npm) Vendor— Affected 4.5.3 to before 5.4.21 Fixed in 5.4.21 Patch available GHSA-93m4-6634-74q7
  • vite (npm) Vendor— Affected 5.2.6 to before 5.4.21 Fixed in 5.4.21 Patch available GHSA-93m4-6634-74q7

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:vitejs:vite:*:*:*:*:*:*:*:*——vitejs
  • cpe:2.3:a:vitejs:vite:*:*:*:*:*:*:*:* Versions — — ·vitejs

Remediation

  • Fix · CNA vite (vitejs) Fixed in 7.1.11, 7.0.8, 6.4.1, 5.4.21, 5.0.0, 4.0.0, 3.0.0
  • Fix · GHSA-93m4-6634-74q7 vite (npm) Fixed in 7.1.11 Advisory →
  • Fix · GHSA-93m4-6634-74q7 vite (npm) Fixed in 7.0.8 Advisory →
  • Fix · GHSA-93m4-6634-74q7 vite (npm) Fixed in 6.4.1 Advisory →
  • Fix · GHSA-93m4-6634-74q7 vite (npm) Fixed in 5.4.21 Advisory →
  • Fix · GHSA-93m4-6634-74q7 vite (npm) Fixed in 5.4.21 Advisory →
  • Fix · GHSA-93m4-6634-74q7 vite (npm) Fixed in 5.4.21 Advisory →
  • Fix · GHSA-93m4-6634-74q7 vite (npm) Fixed in 5.4.21 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

Not affected: 4 products
  • Red Hat Ansible Automation Platform 2
  • Red Hat JBoss Enterprise Application Platform 8
  • Red Hat JBoss Enterprise Application Platform Expansion Pack
  • Red Hat OpenShift Dev Spaces

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-62522
  2. 2026-10-03 Alias added: GHSA-93m4-6634-74q7

References

  • TI-2025-22386 Vite has a `server.fs.deny` bypassed for `inline` and `raw` with `?import` query KEVCVSS 3.1HIGH 7.5
  • TI-2025-41248 Code injection in vitejs vite-plugin-react CVSS 3.1CRITICAL 9.8
  • TI-2026-28350 Vite Affected by Arbitrary File Read via Vite Dev Server WebSocket CVSS 4.0HIGH 8.2
  • TI-2025-41735 @vitejs/plugin-rsc has Arbitrary File Read via `/__vite_rsc_findSourceMapURL` Endpoint on Development CVSS 3.1HIGH 7.5
  • TI-2025-21544 Vite bypasses server.fs.deny when using `?raw??` CVSS 3.1HIGH 7.5
  • TI-2023-16938 Vite Server Options (server.fs.deny) can be bypassed using double forward-slash (//) CVSS 3.1HIGH 7.5
See all 31 →

Sources