CVE-2024-45811
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2024
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
server.fs.deny bypassed when using ?import&raw in vite
Vite a frontend build tooling framework for javascript. In affected versions the contents of arbitrary files can be returned to the browser. `@fs` denies access to files outside of Vite serving allow list. Adding `?import&raw` to the URL bypasses this limitation and returns the file content if it exists. This issue has been patched in versions 5.4.6, 5.3.6, 5.2.14, 4.5.5, and 3.2.11. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
vite
- Vendor
- vitejs
- Product
- vite
- Platforms
- Unknown
- Default status
Unknown
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| >= 5.4.0, < 5.4.6 | affected | Unavailable | Unavailable | Unavailable | None listed |
| >= 5.3.0, < 5.3.6 | affected | Unavailable | Unavailable | Unavailable | None listed |
| >= 5.0.0, < 5.2.14 | affected | Unavailable | Unavailable | Unavailable | None listed |
| >= 4.0.0, < 4.5.5 | affected | Unavailable | Unavailable | Unavailable | None listed |
| < 3.2.11 | affected | Unavailable | Unavailable | Unavailable | None listed |