CVE-2024-23331
published high CVSS 3.1 · 7.5Vite dev server option `server.fs.deny` can be bypassed when hosted on case-insensitive filesystem
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| vitejs | — | vite>=2.7.0, < 2.9.17 · >=3.0.0, <3.2.8 · >=4.0.0, < 4.5.2 · >=5.0.0, < 5.0.12 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Tumbleweed | velociraptoraarch64 | Advisory build | 0.7.0.4.git142.862ef23-1.1 | OPENSUSE-SU-2025:14663-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | velociraptorppc64le | Advisory build | 0.7.0.4.git142.862ef23-1.1 | OPENSUSE-SU-2025:14663-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | velociraptors390x | Advisory build | 0.7.0.4.git142.862ef23-1.1 | OPENSUSE-SU-2025:14663-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | velociraptorx86_64 | Advisory build | 0.7.0.4.git142.862ef23-1.1 | OPENSUSE-SU-2025:14663-1 |
Description
Vite is a frontend tooling framework for javascript. The Vite dev server option `server.fs.deny` can be bypassed on case-insensitive file systems using case-augmented versions of filenames. Notably this affects servers hosted on Windows. This bypass is similar to CVE-2023-34092 -- with surface area reduced to hosts having case-insensitive filesystems. Since `picomatch` defaults to case-sensitive glob matching, but the file server doesn't discriminate; a blacklist bypass is possible. By requesting raw filesystem paths using augmented casing, the matcher derived from `config.server.fs.deny` fails to block access to sensitive files. This issue has been addressed in [email protected], [email protected], [email protected], and [email protected]. Users are advised to upgrade. Users unable to upgrade should restrict access to dev servers.
Related advisories
Vendor advisories explicitly linked to 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.7.0, < 2.9.17 (affected)>=3.0.0, <3.2.8 (affected)>=4.0.0, < 4.5.2 (affected)>=5.0.0, < 5.0.12 (affected) | GitHub_M · cna |
Weaknesses
3- CWE-178 CWE-178: Improper Handling of Case Sensitivity
- CWE-200 CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
- CWE-284 CWE-284: Improper Access Control
References
3Provider assertions
3GitHub_M · cna
Vite dev server option `server.fs.deny` can be bypassed when hosted on case-insensitive filesystem
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 6f88ea2fab4b06e8e0f3471746f7f29d0a733ced72483ed9cb9f27fb4782a74b
- Ingested
- 23 Sep 2026, 08:19:29 UTC
- Source record
- Official CVE record