CVE-2026-48557CWE-184

CVE-2026-48557

High · published May 30, 2026

CVSS v3.1
8.8
EPSS
1%
Percentile
54.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00753 · 54.6th percentile
Weakness
CWE-184 · Incomplete List of Disallowed Inputs
Published
2026-05-30T00:16Z
References (4)
EPSS history
Timeline
  • 29 MAY 19:49Z
    Spatie Laravel Media Library < 11.23.0 File Upload Restriction Bypass via FileAdder.php
    cvelistv5