Vulnerability

CVE-2026-93352

criticalCVSS 4.0 9.3Published 23 Sep 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /plank/laravel-mediable/commit/8ddb0e5b300084e91ad2cb18a6e7…
  • 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

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning