Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1310 CNY

100%

CVE-2026-48557— Spatie Laravel Media Library < 11.23.0 File Upload Restriction Bypass via FileAdder.php

CVSS 8.8 · High
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-48557

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Spatie Laravel Media Library < 11.23.0 File Upload Restriction Bypass via FileAdder.php
Source: NVD (National Vulnerability Database)
Vulnerability 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.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Source: NVD (National Vulnerability Database)
Vulnerability Type
不完整的黑名单
Source: NVD (National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
spatielaravel-medialibrary 0 ~ 11.23.0 -

II. Public POCs for CVE-2026-48557

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-48557

登录查看更多情报信息。

Patches & Fixes for CVE-2026-48557 (2)

Vendor Advisories for CVE-2026-48557 (1)

Vendor Pages for CVE-2026-48557 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-48557

No comments yet


Leave a comment