CVE-2023-34092
published high CVSS 3.1 · 7.5Vite Server Options (server.fs.deny) can be bypassed using double forward-slash (//)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| vitejs | — | 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 | Affected | Not stated | GitHub_M |
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].
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| vitejs | vite | < 2.9.16 (affected)>= 3.0.2, < 3.2.7 (affected)>= 4.0.0, < 4.0.5 (affected)>= 4.1.0, < 4.1.5 (affected)>= 4.2.0, < 4.2.3 (affected)>= 4.3.0, < 4.3.9 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-50 CWE-50: Path Equivalence: '//multiple/leading/slash'
- CWE-200 CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
References
3Provider assertions
3GitHub_M · cna
Vite Server Options (server.fs.deny) can be bypassed using double forward-slash (//)
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 37af0d8287bb80a6379f980f255399334aa53ee02a9af470ac2fe33e7ad19e59
- Ingested
- 23 Sep 2026, 08:09:31 UTC
- Source record
- Official CVE record