CVE-2026-49972 Details
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.
A remote code execution vulnerability exists in Laravel-Mediable versions prior to 7.0.0. This issue arises from a file upload vulnerability that allows unauthenticated attackers to execute arbitrary code by uploading a file with a PHP extension hidden within a double extension, such as shell.php.jpg. The vulnerability exploits the PATHINFO_FILENAME extraction, which retains the inner .php extension in the base name. On misconfigured Apache or Nginx servers that execute filenames containing .php as PHP, the uploaded file is treated as executable code. All validation checks for MIME type, extension, and aggregate type are bypassed due to the outer .jpg extension.
Users are advised to upgrade to Laravel-Mediable version 7.0.0 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 13, 2026CISA-ADP
Assessed Jul 15, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-434 | Unrestricted Upload of File with Dangerous Type | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Plank Laravel-Mediable | < 7.0.0 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 15, 2026 | CVE Modified | CISA-ADP |
| Jul 14, 2026 | CVE Modified | [email protected] |
| Jul 13, 2026 | New CVE Received | [email protected] |
Volerion