Skip to main content

Spatie Laravel Media Library CVE-2026-48557

| EUVD-2026-33439 HIGH
Incomplete List of Disallowed Inputs (CWE-184)
2026-05-29 VulnCheck GHSA-3ggm-c5m7-hfv5
8.7
CVSS 4.0
Share

CVSS VectorNVD

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
X

Lifecycle Timeline

4
Source Code Evidence Fetched
May 29, 2026 - 20:33 vuln.today
Analysis Generated
May 29, 2026 - 20:33 vuln.today
CVSS changed
May 29, 2026 - 20:22 NVD
8.8 (HIGH) 8.7 (HIGH)
CVE Published
May 29, 2026 - 19:49 nvd
HIGH 8.7

DescriptionNVD

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.

AnalysisAI

File upload restriction bypass in Spatie Laravel Media Library prior to 11.23.0 allows authenticated remote attackers to upload files with double extensions (e.g., shell.php.jpg) or executable extensions missing from the blocklist (.php6, .shtml, .htaccess) due to a flawed sanitizer in FileAdder::defaultSanitizer() that only inspects the final filename suffix. Successful exploitation can lead to arbitrary PHP code execution when the application is deployed behind a legacy Apache AddHandler configuration, with no public exploit identified at time of analysis. …

Sign in for full analysis, threat intelligence, and remediation guidance.

RemediationAI

Within 24 hours: Audit all applications using Spatie Laravel Media Library and document current versions in inventory; identify production and staging systems. Within 7 days: Deploy Spatie Laravel Media Library update to version 11.23.0 or later across all environments using your standard change management process. …

Sign in for detailed remediation steps.

Share

CVE-2026-48557 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy