Vulnerabilities/

CVE-2026-93352

CVE

CVE-2026-93352

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

Severity

Critical

Base CVSS

0.0

Fixed in

8ddb0e5b300084e91ad2cb18a6e7bc768bb7b008

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.

Severity scores

Source

Severity

Base score

CVSS version

Score vector

NVD

Critical

9.3

4.0

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

OSV

0

Endor Labs

Required action

Known ransomware campaign use

References

https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93352.json, https://github.com/plank/laravel-mediable/releases/tag/7.0.2, https://nvd.nist.gov/vuln/detail/CVE-2026-93352, https://www.vulncheck.com/advisories/laravel-mediable-rce-via-pht-file-upload, https://github.com/plank/laravel-mediable/commit/8ddb0e5b300084e91ad2cb18a6e7bc768bb7b008, https://github.com/plank/laravel-mediable/pull/396, https://github.com/plank/laravel-mediable

Basic information

Base CVSS

0.0

EPSS probability

0.0

EPSS percentile

0.51148

Introduced version

51084151d1590be9c4331fa42e006968f2e6c696

Fix available

8ddb0e5b300084e91ad2cb18a6e7bc768bb7b008

Endor Patches

Fix critical vulnerabilities instantly

Secure your app without upgrading: detect a compatible fix, apply safe remediation, and ship it in a single pull request.

Fix without upgrading

Get a demo of Endor Labs today.