Live threats

All CVEs / plank

CVE-2026-93352plank laravel-mediable

Remote code execution via .pht file upload in Laravel-Mediable

Critical 9.3 No auth needed

Priority
71
CVSS 4.0
9.3
EPSS
—
Auth required
No
Published
Sep 23, 2026
Updated
Sep 24, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-434
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

Laravel-Mediable versions before 7.0.2 contain an incomplete patch that omits the .pht extension from the forbidden extensions blocklist. An unauthenticated attacker can upload a .pht file that bypasses validation and is executed as PHP by Apache on Debian and Ubuntu systems, enabling remote code execution with web server privileges.

Show the original NVD text

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.

Source text, unmodified. NVD.

What to do

Patch available · fixed versions: 7.0.2

Update Laravel-Mediable to version 7.0.2 or later to include .pht in the forbidden extensions blocklist.

Vendor advisory · github.com ↗

  1. Apply the vendor's security update for laravel-mediable.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.