Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
9.3

CVE-2026-93352: Laravel-Mediable lets uploaded .pht files execute

CVE-2026-93352 · published 16 days ago
Summary

The Laravel-Mediable package (versions 7.0.0 through 7.0.1) does not block files with a .pht extension. Because web servers on Debian and Ubuntu treat .pht files as PHP code, an attacker could upload a malicious .pht file, have it saved on the server, and then run it, gaining the same rights as the web server. Update the package to version 7.0.2 or later, or add .pht to the forbidden file extensions list, to stop this behavior.

What to do
  • Update plank laravel-mediable to version 7.0.2 or later.
Affected software
VendorProductAffected versions
plank laravel-mediable < 7.0.2
Original advisory text
Laravel-Mediable 7.0.0 < 7.0.2 RCE via .pht File Upload
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.
Fix within
Internet-facing 3 days
Internal 60 days
  • Not known to be exploited
  • Can be exploited automatically
  • Gives an attacker full control
Severity
9.3 Critical
Exploitation
<1% chance of attack within 30 days
Type
CWE-434Unrestricted File Upload
Timeline
Published23 Sep 2026
Updated9 Oct 2026
First seen23 Sep 2026
Sources
CVE-2026-93352 · MITRE
Track software like this
Free during beta