{"id":"CVE-2026-4809","summary":"Unsafe Client MIME Type Handling Can Enable Arbitrary File Upload in plank/laravel-mediable","details":"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.","modified":"2026-08-07T11:51:16.616612554Z","published":"2026-03-26T11:03:27.086Z","database_specific":{"cna_assigner":"TuranSec","cwe_ids":["CWE-434"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/4xxx/CVE-2026-4809.json"},"references":[{"type":"WEB","url":"https://github.com/plank/laravel-mediable/releases/tag/6.4.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/4xxx/CVE-2026-4809.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-4809"},{"type":"PACKAGE","url":"https://github.com/plank/laravel-mediable"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/plank/laravel-mediable","events":[{"introduced":"0"},{"fixed":"56cc3c69654e250deb0badd2a8870d1f729f29e3"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"last_affected":"6.4.0"},{"fixed":"6.4.0"}],"source":["AFFECTED_FIELD","DESCRIPTION","REFERENCES"]}}],"versions":["6.3.1","6.3.0","6.2.1","6.2.0","6.1.3","6.1.2","6.1.1","6.1.0","6.0.5","6.0.4","6.0.3","6.0.2","6.0.1","6.0.0","5.9.1","5.9.0","5.8.0","5.7.0","5.6.0","5.5.0","5.4.1","5.4.0","5.3.1","5.2.1","5.2.0","5.1.1","5.1.0","5.0.7","5.0.6","5.0.5","5.0.4","5.0.3","5.0.2","5.0.1","5.0.0","4.4.2","4.4.1","4.4.0","4.3.2","4.3.1","4.3.0","4.2.3","4.2.2","4.2.1","4.2.0","4.1.0","4.0.1","4.0.0","3.0.1","3.0.0","2.9.0","2.8.2","2.8.1","2.8.0","2.7.3","2.7.2","2.7.1","2.7.0","2.6.2","2.6.1","2.6.0","2.5.0","2.4.8","2.4.7","2.4.6","2.4.5","2.4.4","2.4.3","2.4.1","2.4.0","2.3.0","2.2.3","2.1.0","2.0.0","1.0.1","1.0.0","0.3.0","0.2.0","0.1.4","0.1.3","0.1.2","0.1.1","0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-4809.json"}}],"schema_version":"1.8.0","severity":[{"type":"CVSS_V4","score":"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"}]}