CVE-2024-51758
Exported files stored in default (`public`) filesystem if not reconfigured in filament
Also known as GHSA-4hxw-gc2q-f6f3
Mitigation
- Upgrade filament/actions to 3.2.123 or later.
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
Vulnerability facts
- Affected
- filament/actions >= 3.2.0, < 3.2.123
- Fixed in
- 3.2.123
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- 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:NOpen in CVSS calculator
Show all 11 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
- EPSS
- 0.80% chance of exploitation in 30 days (percentile 53, 2026-11-26)
- CWE
- CWE-1188
- Modified
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
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Packagist filament/actions | >= 3.2.0, < 3.2.123 | 3.2.123 | osv |
| filamentphp filament | >= 3.2.0, < 3.2.123 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
References
Vendor advisories
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.