High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-21546
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 16:47 UTC · Revision 1
Source evidence
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.
osv:CVE-2024-21546
Complete source record
{
"id": "b6449f3815b7bd12d424d0df3606595405542149f29772457e0b8a9f97bbfbe3",
"url": "https://osv.dev/vulnerability/CVE-2024-21546",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2024-21546",
"summary": "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.",
"evidence": "osv:CVE-2024-21546",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2024-21546",
"aliases": [
"CVE-2024-21546",
"GHSA-6569-3785-r3v6"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/unisharp/laravel-filemanager",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "93c99703fa77f613adfcb2dc4a06c1b42b0bd372"
},
{
"fixed": "8170760c0ae316d77b9363cd4c76ab68d3f63f0b"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "2.9.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "8170760c0ae316d77b9363cd4c76ab68d3f63f0b"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v2.9.0",
"v2.8.0",
"v2.7.1",
"v2.7.0",
"v2.6.4",
"v2.6.3",
"v2.6.2",
"v2.6.1",
"v2.6.0",
"v2.5.1",
"v2.5.0",
"v2.4.1",
"v2.4.0",
"v2.3.0",
"v2.2.0",
"v2.1.0",
"v2.0.1",
"v2.0.0",
"v2.0.0-alpha8",
"v2.0.0-alpha7",
"v2.0.0-alpha6",
"v2.0.0-alpha5",
"v1.9.0",
"v2.0.0-alpha4",
"v2.0.0-alpha3",
"v2.0.0-alpha2",
"v2.0.0-alpha",
"v1.7.7",
"v1.7.6",
"v1.7.5",
"v1.7.4",
"v1.7.3",
"v1.7.2",
"v1.7.1",
"v1.7.0",
"1.6.3",
"v1.7-alpha",
"1.6.2",
"1.6.1",
"1.6.0",
"1.5.2",
"1.5.1",
"1.5.0",
"1.4.0-alpha",
"1.3.0-alpha",
"1.2.0",
"1.1.1",
"1.1.0",
"1.1.0-alpha",
"1.0.0",
"0.5.3",
"0.5.2",
"0.5.1",
"0.5.0",
"0.3.1",
"0.3.0",
"0.2.0",
"0.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-21546.json"
}
}
],
"modified": "2026-10-28T02:30:30.593357488Z",
"provider": "osv",
"references": [
"https://gist.github.com/ImHades101/338a06816ef97262ba632af9c78b78ca",
"https://security.snyk.io/vuln/SNYK-PHP-UNISHARPLARAVELFILEMANAGER-7210316",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/21xxx/CVE-2024-21546.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-21546",
"https://github.com/UniSharp/laravel-filemanager/commit/8170760c0ae316d77b9363cd4c76ab68d3f63f0b"
],
"provider_metadata": {
"cwe_ids": [
"CWE-94"
],
"cna_assigner": "snyk",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/21xxx/CVE-2024-21546.json"
}
},
"related_cves": [
{
"value": "CVE-2024-21546",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 497564,
"published_at": "2024-12-18T06:06:02.529+00:00"
}