# CVE-2026-49972: Laravel-Mediable < 7.0.0 File Upload RCE via Extension Bypass

- Severity: High 7.7 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.08%, higher than 65% of CVEs (2026-11-30)
- Published: 2026-07-13T18:16:02.131Z
- Modified: 2026-10-24T22:10:00.210Z
- Weaknesses: CWE-434
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## Description

Laravel-Mediable before 7.0.0 contains a file upload vulnerability that allows unauthenticated attackers to achieve remote code execution by uploading a file with an embedded PHP extension disguised within a double extension such as shell.php.jpg. The PATHINFO_FILENAME extraction preserves the inner .php extension in the base name, and on misconfigured Apache or nginx servers that execute any filename containing .php as PHP, the stored file is interpreted as executable code while all MIME type, extension, and aggregate type validation checks pass due to the outer .jpg extension.

(As written by CVE List.)

## Affected

- plank laravel-mediable: before 7.0.0

## Every score

- VulnCheck: CVSS:4.0 7.7 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/plank/laravel-mediable/releases/tag/7.0.0> (patch, release-notes)
- <https://github.com/plank/laravel-mediable/commit/49e3583bed13423611b3391f89e6b002571eed73> (patch)
- <https://www.vulncheck.com/advisories/laravel-mediable-file-upload-rce-via-extension-bypass> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-49972](https://www.cve.org/CVERecord?id=CVE-2026-49972), CVE Terms of Use, modified 2026-07-15
- NVD: [CVE-2026-49972](https://nvd.nist.gov/vuln/detail/CVE-2026-49972), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-49972 · Whole record: https://cve.day/CVE-2026-49972.json · Rebuilt by cve.day 2026-11-25T22:59:27.840Z
