{"id":"CVE-2026-4809","state":"PUBLISHED","title":"Unsafe Client MIME Type Handling Can Enable Arbitrary File Upload 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.","publishedAt":"2026-03-26T11:03:27.086Z","updatedAt":"2026-08-10T11:43:52.211Z","severity":{"score":9.3,"label":"Critical","version":"4.0","vector":"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","source":"TuranSec"},"assigner":"TuranSec","products":["plank laravel-mediable"],"affected":[{"vendor":"plank","product":"laravel-mediable","defaultStatus":"unaffected","versions":[{"version":"<= 6.4.0","status":"affected"}]}],"references":["https://github.com/plank/laravel-mediable","https://github.com/plank/laravel-mediable/releases/tag/6.4.0"],"weaknesses":["CWE-434"],"ingestedAt":"2026-10-29T20:12:16.098Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/4xxx/CVE-2026-4809.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-4809","state":"PUBLISHED","datePublished":"2026-03-26T11:03:27.086Z","dateUpdated":"2026-08-10T11:43:52.211Z","assignerShortName":"TuranSec","assignerOrgId":"309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c","dateReserved":"2026-03-25T12:35:26.385Z"},"containers":{"cna":{"title":"Unsafe Client MIME Type Handling Can Enable Arbitrary File Upload in plank/laravel-mediable","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"plank","product":"laravel-mediable","defaultStatus":"unaffected","versions":[{"version":"<= 6.4.0","status":"affected"}]}],"references":[{"url":"https://github.com/plank/laravel-mediable","name":"Project repository","tags":["third-party-advisory"]},{"url":"https://github.com/plank/laravel-mediable/releases/tag/6.4.0","name":"Release 6.4.0","tags":["third-party-advisory"]},{"url":"https://github.com/plank/laravel-mediable","name":"Upstream project homepage","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"CRITICAL","baseScore":9.3,"vectorString":"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"}},{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseSeverity":"CRITICAL","baseScore":9.8,"vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}},{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV2_0":{"version":"2.0","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE","baseScore":10,"vectorString":"AV:N/AC:L/Au:N/C:C/I:C/A:C"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-434","lang":"en","description":"CWE-434 Unrestricted Upload of File with Dangerous Type","type":"CWE"}]}],"providerMetadata":{"shortName":"TuranSec","orgId":"309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c","dateUpdated":"2026-08-10T11:43:52.211Z"},"impacts":[{"descriptions":[{"lang":"en","value":"A remote attacker can upload a file containing executable PHP code while supplying a benign image MIME type. If the consuming application accepts the client-controlled MIME type and stores uploaded files in a web-accessible executable location, this can result in arbitrary file upload and remote code execution."}]}],"credits":[{"lang":"en","value":"Sobirjonov Xurshidbek","type":"finder"}],"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 1.0.1"},"datePublic":"2026-03-26T11:03:27.086Z"},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-03-26T13:41:20.442496Z","id":"CVE-2026-4809","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-03-26T13:41:27.981Z"}}]}}}