Skip to main content

PHP CVE-2026-4809

| EUVDEUVD-2026-16164 CRITICAL
Unrestricted Upload of File with Dangerous Type (CWE-434)
2026-03-26 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
9.3
CVSS 4.0 · Vendor: 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send file with PHP code and spoofed image MIME type
  2. Exploit
    Application accepts client-supplied MIME type
  3. Execution
    Dangerous file uploaded to web-accessible location
  4. Impact
    PHP 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

laravel-mediable ≤ 6.4.0

Affected Packages

euvd laravel_mediable no fix

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

Vendor (309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c) PRIMARY 9.3 CRITICAL
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.4%
Top 40% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

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

CVE-2012-1823 CRITICAL POC
9.8 May 11

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

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

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

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

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

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy