Skip to main content
← All vulnerabilities
CVE-2026-49972

Laravel-Mediable < 7.0.0 File Upload RCE via Extension Bypass

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 7.0.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • plank laravel-mediable

    fixed in 7.0.0

References 3

GitHub · plank/laravel-mediable

vulncheck.com