Arbitrary file upload in Plank Laravel-Mediable
CVE-2026-49972
- CVSS v3
- 8.8 High
- Public exploits
- None known
- EPSS
- 0.011 · 64.6th percentile
- Published
- 2026-07-13
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.
Vulnerability class: Unrestricted File Upload
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.011, 64.6th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Plank Laravel-Mediable — versions 0
Weakness classification (CWE)
References
- laravel-mediable 7.0.0 Release Notes (release-notes, patch)
- Patch Commit (patch)
- www.vulncheck.com/advisories/laravel-mediable-file-upload-rce-via-extension-byp… (third-party-advisory)