Vulnerability · Published Jul 13, 2026 · Assigned by VulnCheck
CVE-2026-49972Laravel-Mediable < 7.0.0 File Upload RCE via Extension Bypass
High 8.8
In plain English
A high-severity unrestricted file upload in laravel-mediable from plank. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 65% of all known vulnerabilities).
Official description
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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| plank | laravel-mediable | 0 – before 7.0.0 |
Weakness: CWE-434 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- laravel-mediable 7.0.0 Release Notes release-notes, patch
- Patch Commit patch
- https://www.vulncheck.com/advisories/laravel-mediable-file-upload-rce-via-extension-bypass third-party-advisory