Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend file with PHP code and spoofed image MIME type
-
ExploitApplication accepts client-supplied MIME type
-
ExecutionDangerous file uploaded to web-accessible location
-
ImpactPHP code executes on server
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File type validation, storage isolation
MITRE ATT&CK
2 techniques across 2 tactics: Command and Control, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires Laravel application using plank/laravel-mediable ≤6.4.0 configured to accept or prefer client-supplied MIME types during file upload. Attacker uploads PHP executable file with benign image MIME type declaration. RCE occurs only if uploaded file stored in web-accessible, executable directory. Remote unauthenticated attacker; no victim interaction needed. |
| Impact | CVSS 4.0 score of 9.3 reflects critical severity with network attack vector (AV:N), low complexity (AC:L), no authentication required (PR:N), and high impact across confidentiality, integrity, and availability (VC:H/VI:H/VA:H). However, real-world risk signals present a more nuanced picture. EPSS exploitation probability of 0.39% (60th percentile) suggests attackers are not actively targeting this vulnerability in the wild. SSVC framework confirms exploitation status as 'none' with no public exploit identified at time of analysis, though the vulnerability is marked as automatable with total technical impact. The disconnect between theoretical severity and observed exploitation likely stems from the conditional nature requiring both application misconfiguration (trusting client MIME types) and executable web-accessible storage. Combined with zero vendor response and no available patch, this represents a moderate priority for organizations using affected versions in the described configuration, elevated if public-facing file upload functionality exists. |
| Exploit ScenarioDerived | An unauthenticated attacker identifies a Laravel application using plank/laravel-mediable with a public file upload endpoint that trusts client MIME type declarations. The attacker crafts a malicious PHP file containing web shell code, sets the Content-Type header to image/jpeg during HTTP POST upload, and successfully bypasses the library's validation. If the application stores the uploaded file in a web-accessible directory with PHP execution enabled (common in misconfigured /public or /uploads directories), the attacker accesses the file's URL to execute arbitrary commands on the server, achieving full remote code execution. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 26, 2026
Remote code execution in plank/laravel-mediable PHP package through version 6.4.0 allows unauthenticated attackers to upload executable PHP files disguised with benign MIME types, achieving arbitrary code execution when files land in web-accessible directories. EPSS score of 0.39% (60th percentile) indicates low observed exploitation probability, though SSVC analysis confirms the vulnerability is automatable with total technical impact. No vendor-released patch identified at time of analysis despite coordinated disclosure attempts.
RemediationAI
No vendor-released patch identified at time of analysis, as the vendor has not responded to coordinated disclosure attempts. Organizations using plank/laravel-mediable version 6.4.0 or earlier should implement immediate mitigations: reject client-supplied MIME types entirely and perform server-side file type validation based on file content inspection (magic bytes analysis), store all uploaded files outside web-accessible directories or in locations with script execution disabled via web server configuration, implement strict file extension allowlists validated against actual file content, and apply defense-in-depth measures including Web Application Firewall rules to block PHP file uploads and Content Security Policy headers to limit execution contexts. Monitor the project repository at https://github.com/plank/laravel-mediable for future security updates, or consider migrating to alternative Laravel media handling solutions with active security maintenance.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability affects plank/laravel-mediable, a PHP media handling library for Laravel applications, specifically versions at or below 6.4.0 (confirmed via EUVD-2026-16164). The root cause is CWE-434 (Unrestricted Upload of File with Dangerous Type), where the package fails to validate file contents independently of client-supplied MIME type headers. When applications using this library trust client-provided MIME types during upload validation rather than performing server-side content inspection, attackers can bypass type restrictions by declaring safe MIME types (e.g., image/jpeg) while uploading files containing PHP code. The vulnerability chain requires both the misconfigured use of the library and storage of uploads in web-accessible directories with script execution enabled.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Primary rating from Vendor (309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c) · only source for this CVE.
CVSS VectorVendor: 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
DescriptionCVE.org
plank/laravel-mediable through version 6.4.0 can allow upload of a dangerous file type when an application using the package accepts or prefers a client-supplied MIME type during file upload handling. In that configuration, a remote attacker can submit a file containing executable PHP code while declaring a benign image MIME type, resulting in arbitrary file upload. If the uploaded file is stored in a web-accessible and executable location, this may lead to remote code execution. At the time of publication, no patch was available and the vendor had not responded to coordinated disclosure attempts.
Executive ViewAI
Organizations using plank/laravel-mediable PHP package through version 6.4.0 face critical remote code execution risk, as the library fails to validate file types during upload, allowing attackers to execute arbitrary code on web servers without authentication. This vulnerability directly threatens application confidentiality, integrity, and availability across any deployment handling file uploads through this component.
Implement Web Application Firewall rules to block .php file uploads and reject requests with mismatched MIME type/file extension combinations; configure web server to prevent PHP execution in upload directories (e.g., disable PHP handlers via .htaccess or nginx config); restrict file upload endpoints to authenticated users only via network access controls; enable strict input validation to reject uploads lacking proper MIME signatures; monitor upload directory for unexpected executable files; consider temporary disable of file upload feature until patch availability confirmed.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-16164
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB