What’s Vulnerable › Vulnerabilities
CVE-2026-93352: Laravel-Mediable 7.0.0 < 7.0.2 RCE via .pht File Upload
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-09-23 · updated 2026-09-24
- Weakness: CWE-434
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.
Affected products
- plank laravel-mediable: from 7.0.0 before 7.0.2 — fixed in 7.0.2
How to fix
Upgrade to a fixed version: plank laravel-mediable 7.0.2. Check the vendor advisory for mitigations.
References
- https://github.com/plank/laravel-mediable/commit/8ddb0e5b300084e91ad2cb18a6e7bc768bb7b008
- https://github.com/plank/laravel-mediable/pull/396
- https://github.com/plank/laravel-mediable/releases/tag/7.0.2
- https://www.vulncheck.com/advisories/laravel-mediable-rce-via-pht-file-upload
Get alerted when CVE-2026-93352 or the next vulnerability affects your stack