CVE-2024-21546
JSON

9.3critical

UniSharp Laravel Filemanager Code Injection vulnerability

Severity
9.3critical CVSS:4.0 by snyk
Exploit likelihood
1.31% (higher than 71% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
snyk
Also known as
GHSA-6569-3785-r3v6

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

Product or packageVersionsReported by
unisharp/laravel-filemanagerbefore 2.9.1CVE List
unisharp/laravel-filemanager (Packagist)before 2.9.1GitHub Advisory Database

All scores

snyk9.3critical CVSS:4.0CVSS: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
snyk9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P
GitHub9.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHubhigh CVSS:4.0CVSS: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

Classification

CWE-94

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

Las versiones del paquete unisharp/laravel-filemanager anteriores a la 2.9.1 son vulnerables a la ejecución remota de código (RCE) mediante el uso de un tipo MIME válido y la inserción del carácter . después de la extensión del archivo php. Esto permite al atacante ejecutar código malicioso.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-21546 changed 2025-08-28CVE Terms of Use
GitHub Advisory DatabaseGHSA-6569-3785-r3v6 changed 2024-12-18CC-BY-4.0
NVDCVE-2024-21546 changed 2026-06-17Public domain