{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-21546","id":"CVE-2024-21546","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.","descriptionLong":"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.","published":"2024-12-18T06:06:02.529Z","updated":"2026-10-28T02:30:30.593357488Z","reserved":"2023-12-22T12:33:20.128Z","status":"Deferred","rejected":false,"assigner":"snyk","metric":{"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","rating":"critical","source":"snyk"},"metrics":[{"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","rating":"critical","source":"snyk"},{"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","rating":"high","source":"snyk.io"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"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","rating":"critical","source":"GitHub"},{"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","rating":"critical","source":"snyk"},{"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","rating":"critical","source":"snyk.io"},{"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","rating":"critical","source":"GitHub"}],"rating":"critical","products":["unisharp/laravel-filemanager"],"affectedProducts":[{"vendor":"n/a","product":"unisharp/laravel-filemanager","defaultStatus":null,"versions":[{"version":"0","lessThan":"2.9.1","status":"affected","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"unisharp/laravel-filemanager","purl":"pkg:composer/unisharp/laravel-filemanager","ranges":["<2.9.1"],"fixed":["2.9.1"],"advisory":"GHSA-6569-3785-r3v6"}],"cwes":["CWE-94"],"aliases":["GHSA-6569-3785-r3v6"],"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://github.com/CVEProject/cvelistV5/tree/main/cves/2024/21xxx/CVE-2024-21546.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21546","tags":["advisory"]},{"url":"https://github.com/UniSharp/laravel-filemanager","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.01311,"epssPercentile":0.71294,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-21546","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21546","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-21546","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-6569-3785-r3v6","ok":true,"note":"GHSA-6569-3785-r3v6"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-21546","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["laravel"],"critical":["CVSS 9.3 in a widely used technology"],"attention":null}