CVE-2026-93352 Details
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.
A remote code execution vulnerability exists in Laravel-Mediable versions 7.0.0 prior to 7.0.2. The issue arises from an incomplete patch for a previous vulnerability, where the .pht file extension was not added to the blocklist of forbidden extensions. This omission allows attackers to upload .pht files, which are executed as PHP by Apache on default configurations of Debian and Ubuntu. The uploaded files can be executed with the privileges of the web server process, leading to remote code execution.
Users can upgrade to Laravel-Mediable version 7.0.2 or later, where this vulnerability has been addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 23, 2026CISA-ADP
Assessed Sep 24, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/plank/laravel-mediable/commit/8ddb0e5b300084e91ad2cb18a6e7bc768bb7b008 | [email protected] | Source CodeVendor |
| https://github.com/plank/laravel-mediable/pull/396 | [email protected] | Issue TrackingVendor |
| https://github.com/plank/laravel-mediable/releases/tag/7.0.2 | [email protected] | Release NotesVendor |
| https://www.vulncheck.com/advisories/laravel-mediable-rce-via-pht-file-upload | [email protected] | AdvisoryRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-434 | Unrestricted Upload of File with Dangerous Type | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Plank Laravel-Mediable | >= 7.0.0, < 7.0.2 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 24, 2026 | CVE Modified | CISA-ADP |
| Sep 23, 2026 | New CVE Received | [email protected] |
Volerion