Every CVE Search/ Get API key

CVE-2024-21546

UniSharp Laravel Filemanager Code Injection vulnerability

9.3 CriticalPublic exploitFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

1.31%Up 1.3 points since Dec 19, 2024
90%50%10%1%

What each source reports

CVE List Score used 9.3

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.

Record
CVE-2024-21546
CVSS 4.0
9.3 CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P
Weakness
CWE-94
Updated
2026-11-02
EUVDEUVD-2024-3559 9.3

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.

Record
EUVD-2024-3559
CVSS 4.0
9.3 CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P
Updated
2026-11-02
GitHub AdvisoriesGHSA-6569-3785-r3v6 8.9

UniSharp Laravel Filemanager Code Injection vulnerability

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.

Record
GHSA-6569-3785-r3v6
CVSS 4.0
8.9 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-94
Updated
2026-11-02
NVD 8.9

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.

Record
CVE-2024-21546
CVSS 4.0
8.9 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-94
Updated
2026-11-02
OSV 8.9

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.

Record
CVE-2024-21546
CVSS 4.0
8.9 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P
Weakness
CWE-94
Updated
2026-11-02
OSVGHSA-6569-3785-r3v6 8.9

UniSharp Laravel Filemanager Code Injection vulnerability

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.

Record
GHSA-6569-3785-r3v6
CVSS 4.0
8.9 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-94
Updated
2026-11-02

Affected packages

Affected packages
PackageAffectedFixed
unisharp/laravel-filemanager
Packagist
before 2.9.1
2.9.1
unisharp/laravel-filemanager
Packagist
before 2.9.1, plus listed versions
0.1.00.2.00.3.00.3.10.5.0
Show 45 moreShow less
0.5.10.5.20.5.31.0.01.1.01.1.0-alpha1.1.11.2.01.3.0-alpha1.4.0-alpha1.5.01.5.11.5.21.6.01.6.11.6.21.6.31.6.4v1.7-alphav1.7.0v1.7.1v1.7.2v1.7.3v1.7.4v1.7.5v1.7.6v1.7.7v1.8.0v1.8.1v1.8.2v1.8.2-alphav1.8.2.1v1.8.2.2v1.8.3v1.8.4v1.8.5v1.9.0v1.9.1v1.9.2v2.0.0v2.0.0-alphav2.0.0-alpha2v2.0.0-alpha3v2.0.0-alpha4v2.0.0-alpha5
2.9.1

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
PoC in GitHubajdumanhug/CVE-2024-215462025-05-05
PoC in GitHubdigitalsurgn/CVE-2024-215462026-09-03

History

History
RecordedChangedSources
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV, PoC in GitHub

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2024-21546 is a critical vulnerability (CVSS 9.3) in unisharp/laravel-filemanager, published December 18, 2024. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 1.31%, the 70th percentile. Fixed in unisharp/laravel-filemanager 2.9.1.

References

This page doesn't list everything

Left out here: 21 versions. The JSON record has them.

MoveEnter Open