CVE-2026-48557
HIGH
MEDIUM
Priority: 0.04
BB Relevance:
67/100
Published: 2026-05-29
Modified: 2026-11-08
First seen: 2026-11-08
Status: active
Attack Surface
Network
Low Complexity
No Interaction
Conf. Impact
Integ. Impact
CVSS Vector Breakdown
AV:
Network
AC:
Low
PR:
Low
UI:
None
AT:
None
VC:
High
VI:
High
VA:
High
Description
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.
Weakness Classification (1)
Affected Software (1)
| Vendor | Product | Version |
|---|---|---|
| spatie | laravel-medialibrary | 0 < 11.23.0 |
References & Advisories (4)
third-party-advisory
release-notes
patch
issue-tracking
patch