# CVE-2024-21546: UniSharp Laravel Filemanager Code Injection vulnerability

- Severity: Critical 9.3 (CVSS:4.0, scored by snyk) `CVSS: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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.31%, higher than 71% of CVEs (2026-12-01)
- Published: 2024-12-18T06:06:02.529Z
- Modified: 2026-06-17T07:09:43.037Z
- Also known as: GHSA-6569-3785-r3v6
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: snyk

## 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.

(As written by CVE List.)

## Affected

- unisharp/laravel-filemanager: before 2.9.1
- unisharp/laravel-filemanager (Packagist): before 2.9.1

## Every score

- snyk: CVSS:4.0 9.3 Critical `CVSS: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`
- snyk: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P`
- GitHub: CVSS:3.1 9.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 High `CVSS: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`

## References

- <https://security.snyk.io/vuln/SNYK-PHP-UNISHARPLARAVELFILEMANAGER-7210316> (web)
- <https://gist.github.com/ImHades101/338a06816ef97262ba632af9c78b78ca> (web)
- <https://github.com/UniSharp/laravel-filemanager/commit/8170760c0ae316d77b9363cd4c76ab68d3f63f0b> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-21546> (advisory)
- <https://github.com/UniSharp/laravel-filemanager> (package)

## Sources

- CVE List: [CVE-2024-21546](https://www.cve.org/CVERecord?id=CVE-2024-21546), CVE Terms of Use, modified 2025-08-28
- GitHub Advisory Database: [GHSA-6569-3785-r3v6](https://github.com/advisories/GHSA-6569-3785-r3v6), CC-BY-4.0, modified 2024-12-18
- NVD: [CVE-2024-21546](https://nvd.nist.gov/vuln/detail/CVE-2024-21546), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-21546 · Whole record: https://cve.day/CVE-2024-21546.json · Rebuilt by cve.day 2026-11-25T22:58:50.218Z
