{"id":"CVE-2024-21546","aliases":["EUVD-2024-3559","GHSA-6569-3785-r3v6"],"status":"published","title":"UniSharp Laravel Filemanager Code Injection vulnerability","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.","severity":{"version":"4.0","score":9.3,"vector":"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","level":"critical","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.01311,"percentile":0.71048,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-94"],"published":"2024-12-18T06:06:02Z","modified":"2026-10-28T02:30:30Z","exploits":[{"source":"pocgithub","id":"ajdumanhug/CVE-2024-21546","title":"ajdumanhug/CVE-2024-21546","date":"2025-05-05","url":"https://github.com/ajdumanhug/CVE-2024-21546"},{"source":"pocgithub","id":"digitalsurgn/CVE-2024-21546","title":"digitalsurgn/CVE-2024-21546","date":"2026-09-03","url":"https://github.com/digitalsurgn/CVE-2024-21546"}],"fixes":[{"ecosystem":"Packagist","package":"unisharp/laravel-filemanager","fixed_in":["2.9.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"unisharp/laravel-filemanager","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.1"}]}]},{"source":"osv","ecosystem":"Packagist","package":"unisharp/laravel-filemanager","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.1"}]}],"versions":["0.1.0","0.2.0","0.3.0","0.3.1","0.5.0","0.5.1","0.5.2","0.5.3","1.0.0","1.1.0","1.1.0-alpha","1.1.1","1.2.0","1.3.0-alpha","1.4.0-alpha","1.5.0","1.5.1","1.5.2","1.6.0","1.6.1","1.6.2","1.6.3","1.6.4","v1.7-alpha","v1.7.0","v1.7.1","v1.7.2","v1.7.3","v1.7.4","v1.7.5","v1.7.6","v1.7.7","v1.8.0","v1.8.1","v1.8.2","v1.8.2-alpha","v1.8.2.1","v1.8.2.2","v1.8.3","v1.8.4","v1.8.5","v1.9.0","v1.9.1","v1.9.2","v2.0.0","v2.0.0-alpha","v2.0.0-alpha2","v2.0.0-alpha3","v2.0.0-alpha4","v2.0.0-alpha5","v2.0.0-alpha6","v2.0.0-alpha7","v2.0.0-alpha8","v2.0.1","v2.1.0","v2.2.0","v2.3.0","v2.4.0","v2.4.1","v2.5.0","v2.5.1","v2.6.0","v2.6.1","v2.6.2","v2.6.3","v2.6.4","v2.7.0","v2.7.1","v2.8.0","v2.8.1","v2.9.0"]}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-PHP-UNISHARPLARAVELFILEMANAGER-7210316","tags":["web"]},{"url":"https://gist.github.com/ImHades101/338a06816ef97262ba632af9c78b78ca","tags":["web"]},{"url":"https://github.com/UniSharp/laravel-filemanager/commit/8170760c0ae316d77b9363cd4c76ab68d3f63f0b","tags":["fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21546","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-6569-3785-r3v6"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/21xxx/CVE-2024-21546.json","tags":["advisory"]},{"url":"https://github.com/UniSharp/laravel-filemanager","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2024-21546","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.","status":"published","published":"2024-12-18T06:06:02.529Z","modified":"2025-08-28T14:36:40.84Z","cvss":[{"version":"4.0","score":9.3,"vector":"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","level":"critical","assessor":"cna"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","level":"critical","assessor":"cna"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:34:04.681315Z"}],"euvd":[{"id":"EUVD-2024-3559","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.","status":"published","published":"2024-12-18T06:06:02Z","modified":"2025-08-28T14:36:40Z","cvss":[{"version":"4.0","score":9.3,"vector":"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","level":"critical"}],"updated_at":"2026-11-02T20:31:50.093994Z"}],"ghsa":[{"id":"GHSA-6569-3785-r3v6","title":"UniSharp Laravel Filemanager Code Injection vulnerability","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.","status":"published","published":"2024-12-18T06:30:49Z","modified":"2024-12-18T15:44:46Z","cvss":[{"version":"4.0","score":8.9,"vector":"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","level":"high"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:38:25.334027Z"}],"nvd":[{"id":"CVE-2024-21546","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.","status":"published","published":"2024-12-18T06:15:22.85Z","modified":"2026-06-17T07:09:43.037Z","cvss":[{"version":"4.0","score":8.9,"vector":"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/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","level":"high","assessor":"secondary"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"secondary"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:10:40.507978Z"}],"osv":[{"id":"CVE-2024-21546","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.","status":"published","published":"2024-12-18T06:06:02.529Z","modified":"2026-10-28T02:30:30.593357488Z","cvss":[{"version":"4.0","score":8.9,"vector":"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","level":"high"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T15:44:38.577405Z"},{"id":"GHSA-6569-3785-r3v6","title":"UniSharp Laravel Filemanager Code Injection vulnerability","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.","status":"published","published":"2024-12-18T06:30:49Z","modified":"2024-12-18T16:27:54.843898Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"},{"version":"4.0","score":8.9,"vector":"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","level":"high"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T15:46:39.266402Z"}]}}
