CVE-2026-49972
HIGHLaravel-Mediable < 7.0.0 File Upload RCE via Extension Bypass
Title source: cnaDescription
Laravel-Mediable before 7.0.0 contains a file upload vulnerability that allows unauthenticated attackers to achieve remote code execution by uploading a file with an embedded PHP extension disguised within a double extension such as shell.php.jpg. The PATHINFO_FILENAME extraction preserves the inner .php extension in the base name, and on misconfigured Apache or nginx servers that execute any filename containing .php as PHP, the stored file is interpreted as executable code while all MIME type, extension, and aggregate type validation checks pass due to the outer .jpg extension.
References (3)
Core 3
Core References
Release Notes release-notes
patch
Release Notes
https://github.com/plank/laravel-mediable/releases/tag/7.0.0
Patch patch
Patch Commit
https://github.com/plank/laravel-mediable/commit/49e3583bed13423611b3391f89e6b002571eed73
Third Party Advisory third-party-advisory
https://www.vulncheck.com/advisories/laravel-mediable-file-upload-rce-via-extension-bypass
Scores
CVSS v3
8.8
EPSS
0.0078
EPSS Percentile
52.2%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
total
Details
CWE
CWE-434
Status
published
Products (1)
plank/laravel-mediable
< 7.0.0
Published
Jul 13, 2026
Tracked Since
Jul 14, 2026