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

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 2.9.16, 3.2.7, 4.0.5, 4.1.5, 4.2.3, 4.3.9 (CNA); fix release not confirmed
- Status: published
- Published: 2023-06-01 · Modified: 2025-01-08
- Aliases: GHSA-353f-5xf4-qw67
- Record: https://cvemate.com/vulnerability/CVE-2023-34092 · JSON: https://cvemate.com/vulnerability/CVE-2023-34092/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS: 3.152%, percentile 88.363%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- Npm vite (Npm): \< 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
- 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 \| 2.9.15

## References

- <https://github.com/vitejs/vite/security/advisories/GHSA-353f-5xf4-qw67>
- <https://github.com/vitejs/vite/pull/13348>
- <https://github.com/vitejs/vite/commit/813ddd6155c3d54801e264ba832d8347f6f66b32>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-34092>
- <https://github.com/vitejs/vite>
- <https://security.snyk.io/package/npm/vite/3.2.0-beta.4>

---

Data as of 2026-12-05T10:18:12.474Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
