CVE-2026-49972 Laravel-Mediable < 7.0.0 File Upload RCE via Extension Bypass
Unauthenticated attackers can achieve remote code execution by uploading disguised PHP files, requiring specific server configurations to execute them.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-49972?
CVE-2026-49972 is a high-severity vulnerability in plank laravel-mediable, published on 13 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim.
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.
Weakness: CWE-434
Which versions are affected by CVE-2026-49972?
How do I fix CVE-2026-49972?
No fix has been published for CVE-2026-49972 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-49972 being exploited?
There is no known exploitation of CVE-2026-49972 in the wild and no public exploit code.
Sources
Also known as GHSA-6mqm-3932-8jfr.