Skip to main content
EPSS 0.9%top 43%

CVE-2026-4809: CWE-434 Unrestricted Upload of File with Dangerous Type in plank laravel-mediable

0
Critical
VulnerabilityCVE-2026-4809cvecve-2026-4809cwe-434gcve
Published: 03/26/2026 (03/26/2026, 11:03:27 UTC)
Source: CVE Database V5
Vendor/Project: plank
Product: laravel-mediable

Description

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.

CVSS v4.0

Score 9.3critical

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

plank

laravel-mediable

Affected versions
<=6.4.0
Packagistmore threats →ai
plank/laravel-mediable
pkg:composer/plank/laravel-mediable
Affected versions
<=6.4.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/10/2026, 13:04:14 UTC

Technical Analysis

The plank/laravel-mediable package through version 6.4.0 is vulnerable to CWE-434: Unrestricted Upload of File with Dangerous Type. When an application using this package accepts or prefers client-supplied MIME types during file upload handling, a remote attacker can submit a file containing executable PHP code while declaring a benign image MIME type. This results in arbitrary file upload, potentially allowing code execution on the server.

Potential Impact

Successful exploitation allows remote attackers to upload executable PHP files disguised as benign images, which can lead to arbitrary code execution on the affected system. This poses a critical security risk, potentially compromising the confidentiality, integrity, and availability of the application and its environment.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid accepting or preferring client-supplied MIME types during file upload handling. Implement strict server-side validation of file types and content to prevent uploading executable files disguised as images.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
TuranSec
Date Reserved
2026-03-25T12:35:26.385Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 69c57a7f3c064ed76f9f9d50

Added to database: 03/26/2026, 18:27:11 UTC

Last enriched: 08/10/2026, 13:04:14 UTC

Last updated: 09/14/2026, 22:01:35 UTC

Views: 334

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses