CVE-2026-93352 PUBLISHED

Laravel-Mediable 7.0.0 < 7.0.2 RCE via .pht File Upload

Assigner: VulnCheck
Reserved: 17.09.2026 Published: 23.09.2026 Updated: 24.09.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS Score: 9.3

Product Status

Vendor plank
Product laravel-mediable
Versions Default: unaffected
  • affected from 7.0.0 to 7.0.2 (excl.)

Credits

  • Aniket Akhade finder

References

Problem Types

  • Unrestricted Upload of File with Dangerous Type CWE