top of page
perceptive_background_267k.jpg

Spatie Laravel Media Library before version 11.23.0 contains a file upload restriction bypass in FileAdder::defaultSanitizer(). The sanitizer checks only the fi…

Published:

28 mei 2026 om 22:00:00

Alert date:

29 mei 2026 om 21:09:42

Source:

nvd.nist.gov

Click to open the original link from this advisory

Web Technologies, Supply Chain & Dependencies

CVE-2026-48557 affects Spatie Laravel Media Library versions before 11.23.0, containing a file upload restriction bypass vulnerability in the FileAdder::defaultSanitizer() function. The vulnerability allows attackers to bypass security controls through two methods: using double-extension filenames like shell.php.jpg that exploit how pathinfo() processes filenames, and exploiting an incomplete blocklist that omits executable extensions such as .php6, .shtml, and .htaccess. The double-extension bypass requires legacy Apache AddHandler configuration for PHP execution, while the incomplete blocklist bypass works without additional server configuration. This vulnerability enables potential remote code execution through malicious file uploads.

Technical details

Mitigation steps:

Affected products:

Spatie Laravel Media Library

Related links:

Related CVE's:

Related threat actors:

IOC's:

This article was created with the assistance of AI technology by Perceptive.

© 2025 by Perceptive Security. All rights reserved.

email: info@perceptivesecurity.com

Deze website toont informatie afkomstig van externe bronnen; Perceptive aanvaardt geen verantwoordelijkheid voor de juistheid, volledigheid of actualiteit van deze informatie.

bottom of page