Read the docs
TI-2023-16938 Aliases CVE-2023-34092GHSA-353f-5xf4-qw67

Vite Server Options (server.fs.deny) can be bypassed using double forward-slash (//)

Priority HIGH 72CWE-200Published · Updated

Key facts

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

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-200.

Summary

Vite provides frontend tooling. Prior to versions 2.9.16, 3.2.7, 4.0.5, 4.1.5, 4.2.3, and 4.3.9, Vite Server Options (`server.fs.deny`) can be bypassed using double forward-slash (//) allows any unauthenticated user to read file from the Vite root-path of the application including the default `fs.deny` settings (`['.env', '.env.*', '*.{crt,pem}']`). Only users explicitly exposing the Vite dev server to the network (using `--host` or `server.host` config option) are affected, and only files in the immediate Vite project root folder could be exposed. This issue is fixed in [email protected], [email protected], [email protected], [email protected], [email protected], and [email protected].

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.03152 88th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed vite (vitejs): 2.9.16, 3.2.7, 4.0.5 +3vite (npm): 2.9.16, 3.2.7, 4.0.5 +3

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
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
vitejsvitebefore 2.9.16; 3.0.2 to before 3.2.7; 4.0.0 to before 4.0.5; 4.1.0 to before 4.1.5; 4.2.0 to before 4.2.3; 4.3.0 to before 4.3.92.9.16, 3.2.7, 4.0.5, 4.1.5, 4.2.3, 4.3.9Patch availableCNA
—vite (npm)before 2.9.162.9.16Patch availableGHSA-353f-5xf4-qw67
—vite (npm)3.0.2 to before 3.2.73.2.7Patch availableGHSA-353f-5xf4-qw67
—vite (npm)4.0.0 to before 4.0.54.0.5Patch availableGHSA-353f-5xf4-qw67
—vite (npm)4.1.0 to before 4.1.54.1.5Patch availableGHSA-353f-5xf4-qw67
—vite (npm)4.2.0 to before 4.2.34.2.3Patch availableGHSA-353f-5xf4-qw67
—vite (npm)4.3.0 to before 4.3.94.3.9Patch availableGHSA-353f-5xf4-qw67
  • vite Vendorvitejs Affected before 2.9.16; 3.0.2 to before 3.2.7; 4.0.0 to before 4.0.5; 4.1.0 to before 4.1.5; 4.2.0 to before 4.2.3; 4.3.0 to before 4.3.9 Fixed in 2.9.16, 3.2.7, 4.0.5, 4.1.5, 4.2.3, 4.3.9 Patch available CNA
  • vite (npm) Vendor— Affected before 2.9.16 Fixed in 2.9.16 Patch available GHSA-353f-5xf4-qw67
  • vite (npm) Vendor— Affected 3.0.2 to before 3.2.7 Fixed in 3.2.7 Patch available GHSA-353f-5xf4-qw67
  • vite (npm) Vendor— Affected 4.0.0 to before 4.0.5 Fixed in 4.0.5 Patch available GHSA-353f-5xf4-qw67
  • vite (npm) Vendor— Affected 4.1.0 to before 4.1.5 Fixed in 4.1.5 Patch available GHSA-353f-5xf4-qw67
  • vite (npm) Vendor— Affected 4.2.0 to before 4.2.3 Fixed in 4.2.3 Patch available GHSA-353f-5xf4-qw67
  • vite (npm) Vendor— Affected 4.3.0 to before 4.3.9 Fixed in 4.3.9 Patch available GHSA-353f-5xf4-qw67

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*3.0.2 to before 3.2.7; 4.0.0 to before 4.0.5; 4.1.0 to before 4.1.5; 4.2.0 to before 4.2.3; 4.3.0 to before 4.3.9Vulnerablevitejs
cpe:2.3:a:vitejs:vite:2.9.15:*:*:*:*:node.js:*:*2.9.15Vulnerablevitejs
  • cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:* Versions 3.0.2 to before 3.2.7; 4.0.0 to before 4.0.5; 4.1.0 to before 4.1.5; 4.2.0 to before 4.2.3; 4.3.0 to before 4.3.9 Vulnerable ·vitejs
  • cpe:2.3:a:vitejs:vite:2.9.15:*:*:*:*:node.js:*:* Versions 2.9.15 Vulnerable ·vitejs

Remediation

  • Fix · CNA vite (vitejs) Fixed in 2.9.16, 3.2.7, 4.0.5, 4.1.5, 4.2.3, 4.3.9
  • Fix · GHSA-353f-5xf4-qw67 vite (npm) Fixed in 2.9.16 Advisory →
  • Fix · GHSA-353f-5xf4-qw67 vite (npm) Fixed in 3.2.7 Advisory →
  • Fix · GHSA-353f-5xf4-qw67 vite (npm) Fixed in 4.0.5 Advisory →
  • Fix · GHSA-353f-5xf4-qw67 vite (npm) Fixed in 4.1.5 Advisory →
  • Fix · GHSA-353f-5xf4-qw67 vite (npm) Fixed in 4.2.3 Advisory →
  • Fix · GHSA-353f-5xf4-qw67 vite (npm) Fixed in 4.3.9 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-34092
  2. 2026-10-03 Alias added: GHSA-353f-5xf4-qw67

References

  • TI-2025-22386 Vite has a `server.fs.deny` bypassed for `inline` and `raw` with `?import` query KEVCVSS 3.1HIGH 7.5
  • TI-2026-28350 Vite Affected by Arbitrary File Read via Vite Dev Server WebSocket CVSS 4.0HIGH 8.2
  • TI-2025-21544 Vite bypasses server.fs.deny when using `?raw??` CVSS 3.1HIGH 7.5
  • TI-2026-38634 Vite: `server.fs.deny` bypass on Windows alternate paths CVSS 4.0HIGH 8.2
  • TI-2026-28352 Vite has a Path Traversal in Optimized Deps `.map` Handling CVSS 4.0MEDIUM 6.3
  • TI-2026-28351 Vite has a `server.fs.deny` bypass with queries CVSS 4.0HIGH 8.2
See all 13 →

Sources