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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** LOW 2.3
- **CVSS:** 2.3 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: None; User interaction: Passive; Confidentiality impact: Low; Integrity impact: None; Availability impact: None; Confidentiality impact on other systems: Low; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.80% (percentile 53, 2026-11-26)
- **CWE:** CWE-1188
- **Aliases:** GHSA-4hxw-gc2q-f6f3
- **Published:** 2024-11-07T16:14:13.000Z
- **Modified:** 2026-09-10T03:50:20.441Z

## Who should check

- Projects that depend on Packagist package filament/actions (\>= 3.2.0, \< 3.2.123)
- Anyone running filamentphp filament \>= 3.2.0, \< 3.2.123

## 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.

## Affected and fixed versions

- Packagist `filament/actions`: affected \>= 3.2.0, \< 3.2.123; fixed 3.2.123 (osv)
- filamentphp filament: \>= 3.2.0, \< 3.2.123 (cvelist)

## Mitigation

- Upgrade filament/actions to 3.2.123 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-51758. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-51758.md
Affected: filament/actions >= 3.2.0, < 3.2.123
Fixed in: 3.2.123

Steps:
1. Search this machine and project for filament/actions (Packagist), filamentphp filament: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-51758 being exploited?

There is no confirmed exploitation: CVE-2024-51758 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.80% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-51758?

Low: CVSS 2.3 (v4.0, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2024-51758?

filament/actions \>= 3.2.0, \< 3.2.123.

### Is there a fix for CVE-2024-51758?

Yes. Fixed in 3.2.123. Upgrade filament/actions to 3.2.123 or later.

### How do I check if I'm affected by CVE-2024-51758?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-51758>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-4hxw-gc2q-f6f3> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2024-51758> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-51758>
