What’s Vulnerable › Vulnerabilities
CVE-2024-21546
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-12-18 · updated 2026-06-17
- Weakness: CWE-94
Description
Versions of the package unisharp/laravel-filemanager before 2.9.1 are vulnerable to Remote Code Execution (RCE) through using a valid mimetype and inserting the . character after the php file extension. This allows the attacker to execute malicious code.
Affected products
- unisharp/laravel-filemanager: before 2.9.1 — fixed in 2.9.1
How to fix
Upgrade to a fixed version: unisharp/laravel-filemanager 2.9.1. Check the vendor advisory for mitigations.
References
- https://gist.github.com/ImHades101/338a06816ef97262ba632af9c78b78ca
- https://github.com/UniSharp/laravel-filemanager/commit/8170760c0ae316d77b9363cd4c76ab68d3f63f0b
- https://security.snyk.io/vuln/SNYK-PHP-UNISHARPLARAVELFILEMANAGER-7210316
Get alerted when CVE-2024-21546 or the next vulnerability affects your stack