Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Spatie Laravel Media Library versions before 11.23.0 have a file upload restriction bypass in FileAdder::defaultSanitizer(), whose blocklist checks only the final filename suffix and omits some executable extensions such as .php6, .shtml, and .htaccess. An attacker who can upload files could use a double-extension name like shell.php.jpg to get past the filter, and the source says this leads to PHP execution only where a legacy Apache AddHandler configuration is present. Upgrade to spatie/laravel-medialibrary 11.23.0 or later.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 8.7 | High | 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | CNA (VulnCheck) |
- CISA KEV Not listed.
- EPSS 0.0044, the 38th percentile, on 8 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 29 May 2026, 19:49 UTC Confirmed by the CVE List
- 31 Oct 2026, 14:02 UTC First seen by agentprime
- 31 Oct 2026, 14:02 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-3ggm-c5m7-hfv5
- OSV: GHSA-3ggm-c5m7-hfv5
- nvd.nist.gov/vuln/detail/CVE-2026-48557
- github.com/spatie/laravel-medialibrary/pull/3939
- github.com/spatie/laravel-medialibrary/commit/608ea03703d3887c46434f5dda6af56de6346aba
- github.com/spatie/laravel-medialibrary
- github.com/spatie/laravel-medialibrary/releases/tag/11.23.0
- www.vulncheck.com/advisories/spatie-laravel-media-library-file-upload-restriction-bypass-via-fileadder-php