Skip to content
Fencer Vulns
high 7.5

CVE-2023-34092 json

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

published 2023-06-01 3 y ago modified 2026-09-10 1 mo ago also GHSA-353f-5xf4-qw67 , EUVD-2023-1665

cvss
7.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
3.2%
EPSS 3.2% chance of exploitation in 30 days, percentile 88%
public exploits
0
none known, plus a Nuclei check

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 vite@4.3.9, vite@4.2.3, vite@4.1.5, vite@4.0.5, vite@3.2.7, and vite@2.9.16.

Patch / fix

  • npm vite 2.9.16, 3.2.7, 4.0.5, 4.1.5, 4.2.3, 4.3.9
  • vitejs vite 3.2.7, 4.0.5, 4.1.5, 4.2.3, 4.3.9

CISA SSVC

Exploitation
Proof of concept is public
Automatable
yes
Technical impact
partial
Assessed
21 mo ago

Exploit prediction

3.15% chance of exploitation in the next 30 days, higher than 88% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • Nuclei template Vite Dev Server - Information Exposure nuclei detection template
  • github.com https://github.com/vitejs/vite/security/advisories/GHSA-353f-5xf4-qw67 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
GitHub 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
npm 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.16
3.2.7
4.0.5
4.1.5
4.2.3
4.3.9

Affected products

  • vitejs vite

Classification

Weakness
  • CWE-50 Path Equivalence: '//multiple/leading/slash'
  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-706 Use of Incorrectly-Resolved Name or Reference

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.