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.
Published: 2026-09-23
Score: 9.3 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

The vulnerability originates in Laravel‑Mediable 7.0.0 through 7.0.1, where the .pht extension was mistakenly omitted from the forbidden extensions list. Because the library does not block .pht uploads, an attacker can upload a file named with that extension, which travels through the upload pipeline unchanged. On Debian/Ubuntu systems running Apache, the default FilesMatch directive causes .pht files to be interpreted as PHP, allowing the attacker to execute arbitrary code with the web‑server process's privileges. This grants full remote code execution on the host system, providing an attacker full control over the affected web application and underlying server.

Affected Systems

The affected products are the Laravel‑Mediable component developed by Plank, specifically versions 7.0.0 through 7.0.1. These versions are commonly integrated into Laravel applications that handle media uploads. Any deployment that relies on an unchanged 7.0.0 to 7.0.1 release without the patch that adds .pht to the forbidden list is susceptible.

Risk and Exploitability

The CVSS base score of 9.3 describes a critical remote code execution risk. Although the EPSS value is not available, the absence of a KEV listing suggests no documented active exploitation yet, yet the vulnerability remains high risk because any upload functionality can be abused. The attack vector is likely over the web via an authenticated or unauthenticated upload feature; once the .pht file is stored, a subsequent request to the file will trigger PHP execution through Apache’s default configuration.

Generated by OpenCVE AI on September 23, 2026 at 22:23 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Laravel‑Mediable to version 7.0.2 or later, which adds .pht to the forbidden extensions list.
  • Configure Apache to deny execution of .pht files, e.g., add 'AddType text/plain .pht' or a FilesMatch rule that prevents PHP handling for that extension.
  • Review and enforce a comprehensive upload whitelist in the application to ensure only safe file types can be uploaded.

Generated by OpenCVE AI on September 23, 2026 at 22:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 24 Sep 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 23 Sep 2026 22:45:00 +0000

Type Values Removed Values Added
First Time appeared Plank
Plank laravel-mediable
Vendors & Products Plank
Plank laravel-mediable

Wed, 23 Sep 2026 21:45:00 +0000

Type Values Removed Values Added
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.
Title Laravel-Mediable 7.0.0 < 7.0.2 RCE via .pht File Upload
Weaknesses CWE-434
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.3, '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'}


Subscriptions

Plank Laravel-mediable
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-26T13:30:04.220Z

Reserved: 2026-09-17T18:41:40.757Z

Link: CVE-2026-93352

cve-icon Vulnrichment

Updated: 2026-09-24T15:46:15.291Z

cve-icon NVD

Status : Deferred

Published: 2026-09-23T22:16:59.523

Modified: 2026-09-24T21:08:55.030

Link: CVE-2026-93352

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-23T22:30:10Z

Weaknesses
  • CWE-434

    Unrestricted Upload of File with Dangerous Type