Laravel-Mediable 7.0.0 < 7.0.2 RCE via .pht File Upload
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-434.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA laravel-mediable (plank) Fixed in 7.0.2
Timeline
- 2026-10-02 Threatist record created from CVE-2026-93352
- 2026-10-03 Alias added: GHSA-phwc-h4xx-5vvv
- 2026-10-25 EPSS moved to the 50th–90th percentile
References
More plank vulnerabilities
- TI-2026-04194 Unsafe Client MIME Type Handling Can Enable Arbitrary File Upload in plank/laravel-mediable CVSS 4.0CRITICAL 9.3
- TI-2026-36804 Laravel-Mediable < 7.0.0 Path Traversal via File::sanitizePath() CVSS 4.0HIGH 8.7
- TI-2026-36806 Laravel-Mediable < 7.0.0 File Upload RCE via Extension Bypass CVSS 4.0HIGH 7.7
- TI-2026-36805 Laravel-Mediable < 7.0.0 Stored XSS via SVG File Upload CVSS 4.0MEDIUM 5.3
- TI-2026-36803 Laravel-Mediable < 7.0.0 SSRF via RemoteUrlAdapter URL Handling CVSS 4.0MEDIUM 5.3
Sources
- CVE-2026-93352 · CVE Program
- CVE-2026-93352 · NVD
- FIRST EPSS
- GHSA-phwc-h4xx-5vvv · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences