7.5

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

Modified
AliasesGHSA-353f-5xf4-qw67
Published 01-06-2023Last modified 08-01-2025

Vulnerability summary

CVE-2023-34092 is a high (CVSS 7.5) vulnerability in vitejs vite. EPSS estimates a 3.15% chance of exploitation in the next 30 days, higher than 88.3% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
3.15%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Timeline

  1. 01-06-2023
    PublishedVulnerability first disclosed.
  2. 08-01-2025
    Last modifiedVulnerability information updated.

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

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

3.15%

Chance of exploitation in the next 30 days

Percentile

88%

Versus all other CVEs

30-day change

No change 0.00 pp

From 3.15% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Vite

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Npm1 product
  • vite< 2.9.16 | ≥ 3.0.2, < 3.2.7 | ≥ 4.0.0, < 4.0.5 | ≥ 4.1.0, < 4.1.5 | ≥ 4.2.0, < 4.2.3 | ≥ 4.3.0, < 4.3.9
Vitejs1 product
  • vite< 2.9.16 | ≥ 3.0.2, < 3.2.7 | ≥ 4.0.0, < 4.0.5 | ≥ 4.1.0, < 4.1.5 | ≥ 4.2.0, < 4.2.3 | ≥ 4.3.0, < 4.3.9 | 2.9.15

2 vendors · 2 products

References

6 links