CVE-2023-34092

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

HIGH
7.5
CVSS Score
Published: June 1, 2023 at 04:29 PM UTC
Updated: June 17, 2026 at 06:02 AM UTC
1 product affected across 1 vendorVite

Using vite by vitejs?

Get instant alerts when new vulnerabilities affect vite - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 3%
SSVC
PoC

Description

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

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 2.9.16v < 3.2.7v < 4.0.5v < 4.1.5v < 4.2.3v < 4.3.93.0.2 ≤ v < 3.2.74.0.0 ≤ v < 4.0.54.1.0 ≤ v < 4.1.54.2.0 ≤ v < 4.2.34.3.0 ≤ v < 4.3.92.9.15
Affected range stops below 2.9.16, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.2.7, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.0.5, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.1.5, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.2.3, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.3.9, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

SSVC — Action Prioritization

SSVCPoCAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.5HIGHGitHub_M
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-50CWE-200CWE-706

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card