CVE-2026-93352 Laravel-Mediable 7.0.0 < 7.0.2 RCE via .pht File Upload
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: total
- Technology
- PHPLaravelUbuntuDebian
Description
Laravel-Mediable 7.0.0 before 7.0.2 contains an incomplete patch for CVE-2026-49972 in which the .pht extension is absent from the forbidden_extensions blocklist in config/mediable.php. The blocklist introduced to address CVE-2026-49972 includes phpt but omits pht, which Apache executes as PHP via the default FilesMatch directive on Debian and Ubuntu systems. An attacker can upload a .pht file that passes all validation in MediaUploader::verifyExtension() and File::sanitizeFileName() because pht is not present in the blocklist, causing the file to be written to disk and executed as PHP when requested, enabling remote code execution with the privileges of the web server process.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| plank/laravel-mediable | >= 7.0.0, < 7.0.2 | 7.0.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| plank/laravel-mediable | >= 7.0.0, < 7.0.2 | 7.0.2 |
References
- Laravel-Mediable 7.0.2 Release Notes release-notes
- Pull Request issue-tracking patch
- Patch Commit patch
- www.vulncheck.com third-party-advisory
- ENISA EUVD EUVD-2026-85706 third-party-advisory