# CVE-2024-51758: Exported files stored in default (`public`) filesystem if not reconfigured in filament

- Severity: Low 2.3 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.56%, higher than 48% of CVEs (2026-12-01)
- Published: 2024-11-07T16:14:13.000Z
- Modified: 2026-09-10T03:50:20.441Z
- Also known as: GHSA-4hxw-gc2q-f6f3
- Weaknesses: CWE-1188
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Filament is a collection of full-stack components for accelerated Laravel development. All Filament features that interact with storage use the `default_filesystem_disk` config option. This allows the user to easily swap their storage driver to something production-ready like `s3` when deploying their app, without having to touch multiple configuration options and potentially forgetting about some. The default disk is set to `public` when you first install Filament, since this allows users to quickly get started developing with a functional disk that allows features such as file upload previews locally without the need to set up an S3 disk with temporary URL support. However, some features of Filament such as exports also rely on storage, and the files that are stored contain data that should often not be public. This is not an issue for the many deployed applications, since many use a secure default disk such as S3 in production. However, [CWE-1188](https://cwe.mitre.org/data/definitions/1188.html) suggests that having the `public` disk as the default disk in Filament is a security vulnerability itself. As such, we have implemented a measure to protect users whereby if the `public` disk is set as the default disk, the exports feature will automatically swap it out for the `local` disk, if that exists. Users who set the default disk to `local` or `s3` already are not affected. If a user wants to continue to use the `public` disk for exports, they can by setting the export disk deliberately. This change has been included in the 3.2.123 release and all users who use the `public` disk are advised to upgrade.

(As written by CVE List.)

## Affected

- filamentphp filament: >= 3.2.0, < 3.2.123
- filament excel_export: up to 3.2.0; before 3.2.123
- filament/actions (Packagist): from 3.2.0 before 3.2.123

## Every score

- GitHub_M: CVSS:4.0 2.3 Low `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N`
- GitHub: CVSS:3.1 2.4 Low `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:N/A:N`
- GitHub: CVSS:4.0 Low `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N`

## References

- <https://github.com/filamentphp/filament/security/advisories/GHSA-4hxw-gc2q-f6f3> (web)
- <https://filamentphp.com/docs/3.x/actions/prebuilt-actions/export#customizing-the-storage-disk> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-51758> (advisory)
- <https://github.com/filamentphp/filament/commit/19f5347f0e17d9f4eb515e24ea5632031c6829df> (web)
- <https://github.com/filamentphp/filament> (package)
- <https://github.com/filamentphp/filament/blob/3.x/packages/actions/src/Exports/Exporter.php#L144-L153> (web)

## Sources

- CVE List: [CVE-2024-51758](https://www.cve.org/CVERecord?id=CVE-2024-51758), CVE Terms of Use, modified 2024-11-21
- GitHub Advisory Database: [GHSA-4hxw-gc2q-f6f3](https://github.com/advisories/GHSA-4hxw-gc2q-f6f3), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-51758](https://nvd.nist.gov/vuln/detail/CVE-2024-51758), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-51758 · Whole record: https://cve.day/CVE-2024-51758.json · Rebuilt by cve.day 2026-11-25T22:58:47.885Z
