CVE-2026-93352
Laravel-Mediable 7.0.0 before 7.0.2 contains an incomplete patch …
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/plank/laravel-mediable/commit/8ddb0e5b300084e91ad2cb18a6e7bc768bb7b008
- github.com/plank/laravel-mediable/pull/396
- github.com/plank/laravel-mediable/releases/tag/7.0.2
- www.vulncheck.com/advisories/laravel-mediable-rce-via-pht-file-upload
- nvd.nist.gov/vuln/detail/CVE-2026-93352
- cve.org/CVERecord?id=CVE-2026-93352
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.