Spatie Laravel Media Library before version 11.23.0 contains a file upload restriction bypass in FileAdder::defaultSanitizer(). The sanitizer checks only the final filename suffix, allowing double-extension filenames such as shell.php.jpg to bypass the blocklist, with pathinfo() preserving inner .php stems in saved filenames. The blocklist also omits executable extensions including .php6, .shtml, and .htaccess. The double-extension bypass requires a legacy Apache AddHandler configuration to achieve PHP execution; the incomplete blocklist bypass does not.
CVE-2026-48557
Score 8.8 from GitHub Security Advisory (severity: HIGH) published 2026-05-29. a secondary CVSS source baseline 8.8; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 8.8
- EG Score
- 8.8(medium)
- EPSS
- 35.6%
- KEV
- Not listed
Published
May 29, 2026
Last Modified
July 14, 2026
Advisory Details (4)
Auto-updated May 31, 2026Spatie Laravel Media Library < 11.23.0 File Upload Restriction Bypass via FileAdder.php | Advisories | VulnCheck
https://www.vulncheck.com/advisories/spatie-laravel-media-library-file-upload-restriction-bypass-via-fileadder-php11.23.0
Patch available: spatie/laravel-medialibrary 11.23.0
https://github.com/spatie/laravel-medialibrary/releases/tag/11.23.0Harden filename validation against malicious extensions
Patch available: spatie/laravel-medialibrary 11.23.0 (PR #3939 merged 2026-05-28)
https://github.com/spatie/laravel-medialibrary/pull/3939commit 608ea03703d3 (spatie/laravel-medialibrary)
Patch available: spatie/laravel-medialibrary 11.23.0 (contains commit 608ea03703d3)
https://github.com/spatie/laravel-medialibrary/commit/608ea03703d3887c46434f5dda6af56de6346abaVendor Advisories for CVE-2026-48557(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
Packagist(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| spatie/laravel-medialibrary | 0.1.0 ... 9.9.1 (511 versions) | 11.23.0 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 10× in last 7d / 77× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 166 total refreshes for this CVE.
- 2026-07-16 01:49 UTCEG score recompute
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 02:00 UTCEPSS rescore
- 2026-07-14 13:55 UTCEG score recompute
- 2026-07-13 22:30 UTCEPSS rescore
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-11 17:23 UTCEG score recompute
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-08 17:17 UTCEG score recompute
- 2026-07-08 15:16 UTCEPSS rescore
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-02 18:55 UTCEG score recompute
- 2026-07-02 18:55 UTCGHSA enrichment
- 2026-07-02 03:48 UTCEG score recompute
- 2026-07-02 03:47 UTCGHSA enrichment
- 2026-07-01 15:07 UTCEPSS rescore
- 2026-07-01 13:59 UTCEG score recompute
- 2026-07-01 13:59 UTCGHSA enrichment
- 2026-07-01 01:18 UTCEG score recompute
Show 75 moreShow fewer
- 2026-07-01 01:18 UTCGHSA enrichment
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 01:12 UTCEG score recompute
- 2026-06-30 01:12 UTCGHSA enrichment
- 2026-06-29 12:30 UTCEG score recompute
- 2026-06-29 12:30 UTCGHSA enrichment
- 2026-06-28 19:26 UTCEG score recompute
- 2026-06-28 19:26 UTCGHSA enrichment
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 06:44 UTCEG score recompute
- 2026-06-28 06:44 UTCGHSA enrichment
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-27 18:03 UTCEG score recompute
- 2026-06-27 18:03 UTCGHSA enrichment
- 2026-06-27 05:21 UTCEG score recompute
- 2026-06-27 05:21 UTCGHSA enrichment
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-26 16:10 UTCEG score recompute
- 2026-06-26 16:10 UTCGHSA enrichment
- 2026-06-25 19:00 UTCEG score recompute
- 2026-06-25 19:00 UTCGHSA enrichment
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-25 06:19 UTCEG score recompute
- 2026-06-25 06:19 UTCGHSA enrichment
- 2026-06-24 15:32 UTCEG score recompute
- 2026-06-24 15:32 UTCGHSA enrichment
- 2026-06-24 14:05 UTCEPSS rescore
- 2026-06-24 02:49 UTCEG score recompute
- 2026-06-24 02:49 UTCGHSA enrichment
- 2026-06-23 21:33 UTCEPSS rescore
- 2026-06-23 21:33 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-19 19:26 UTCEPSS rescore
- 2026-06-19 19:26 UTCEPSS rescore
- 2026-06-18 22:21 UTCEG score recompute
- 2026-06-18 22:21 UTCGHSA enrichment
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-17 23:53 UTCEG score recompute
- 2026-06-17 23:53 UTCGHSA enrichment
- 2026-06-17 17:53 UTCEPSS rescore
- 2026-06-17 11:12 UTCEG score recompute
- 2026-06-17 11:12 UTCGHSA enrichment
- 2026-06-16 22:31 UTCEG score recompute
- 2026-06-16 22:31 UTCGHSA enrichment
- 2026-06-16 17:53 UTCEPSS rescore
- 2026-06-16 09:50 UTCEG score recompute
- 2026-06-16 09:50 UTCGHSA enrichment
- 2026-06-15 21:10 UTCEG score recompute
- 2026-06-15 21:09 UTCGHSA enrichment
- 2026-06-15 17:49 UTCEPSS rescore
- 2026-06-15 17:49 UTCEPSS rescore
- 2026-06-15 07:40 UTCEG score recompute
- 2026-06-15 07:40 UTCGHSA enrichment
- 2026-06-14 23:18 UTCEPSS rescore
- 2026-06-14 18:42 UTCEG score recompute
- 2026-06-14 18:42 UTCGHSA enrichment
- 2026-06-14 06:01 UTCEG score recompute
- 2026-06-14 06:01 UTCGHSA enrichment
- 2026-06-13 23:00 UTCEPSS rescore
- 2026-06-13 17:19 UTCEG score recompute
- 2026-06-13 17:19 UTCGHSA enrichment
- 2026-06-13 04:30 UTCEG score recompute
- 2026-06-13 04:30 UTCGHSA enrichment
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-12 15:48 UTCEG score recompute
- 2026-06-12 15:48 UTCGHSA enrichment
- 2026-06-12 03:06 UTCEG score recompute
Frequently asked(5)
What is CVE-2026-48557?
When was CVE-2026-48557 disclosed?
Is CVE-2026-48557 actively exploited?
What is the CVSS score of CVE-2026-48557?
How do I remediate CVE-2026-48557?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-48557
Is Your Infrastructure Affected by CVE-2026-48557?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.