Arbitrary file upload in Plank Laravel-Mediable
CVE-2026-49972
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.
EPSS exploit prediction
EPSS: 0.011 (64.2th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 64th percentile — 64.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.011 · newest: 0.011 · change: 0.000
Affected products
- Plank Laravel-Mediable — versions 0
Weakness classification (CWE)
References
- github.com/plank/laravel-mediable/releases/tag/7.0.0 (release-notes, patch)
- github.com/plank/laravel-mediable/commit/49e3583bed13423611b3391f89e6b002571eed… (patch)
- www.vulncheck.com/advisories/laravel-mediable-file-upload-rce-via-extension-byp… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-49972?
- CVE-2026-49972 is a high-severity vulnerability in Plank Laravel-Mediable, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 8.8/10. Published 2026-07-13.
- How severe is CVE-2026-49972?
- High severity. CVSS v3 base score is 8.8 out of 10.