CVE-2026-4809: CWE-434 Unrestricted Upload of File with Dangerous Type in plank laravel-mediable
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.
AI Analysis
Technical Summary
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.
CVE-2026-4809: CWE-434 Unrestricted Upload of File with Dangerous Type in plank 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
Affected software
plank
laravel-mediable
pkg:composer/plank/laravel-mediableRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.