Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.9
CVE-2024-21546: Laravel Filemanager versions before 2.9.1 allow attackers to run malicious code
CVE-2024-21546 · published 1 year ago
Summary
Old versions of the Laravel Filemanager package are vulnerable to a type of attack called Remote Code Execution. This means that a hacker could potentially run malicious code on your website, which could lead to unauthorized access or data theft. Update to version 2.9.1 or later to fix this issue and protect your site.
What to do
- Update unisharp laravel-filemanager to version 2.9.1.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| composer | unisharp | laravel-filemanager |
< 2.9.1 Fix: upgrade to 2.9.1
|
Original advisory text
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 exten...
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.
References
- https://github.com/advisories/GHSA-6569-3785-r3v6
- https://gist.github.com/ImHades101/338a06816ef97262ba632af9c78b78ca URL
- https://security.snyk.io/vuln/SNYK-PHP-UNISHARPLARAVELFILEMANAGER-7210316 URL
- https://nvd.nist.gov/vuln/detail/CVE-2024-21546 Vendor Advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/21xxx/CVE-2024-21546... Vendor Advisory
- https://github.com/UniSharp/laravel-filemanager/commit/8170760c0ae316d77b9363cd4... Patch
Internet-facing
14 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker full control
Severity
9.9
Critical
Type
CWE-94Code Injection
Timeline
Published18 Dec 2024
Updated4 Nov 2026
First seen6 Mar 2026
Track software like this
Free during beta