SecurityContext

CVE-2026-49972: Laravel-Mediable - Unrestricted File Upload

  • Cve: CVE-2026-49972
  • Name: Laravel-Mediable - Unrestricted File Upload
  • 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.
  • Impact: Unauthenticated attackers can execute arbitrary code remotely on misconfigured Apache or nginx servers, leading to full server compromise.
  • Remediation: Upgrade to version 7.0.0 or later.
  • Vulnerability type: unrestricted_file_upload
  • Vulnerability impact: remote_code_execution, unrestricted_file_upload
  • Requirements: Server must be misconfigured to execute files with .php in filename
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.0108
  • Epss percentile: 0.66
  • Assignee: [email protected]
  • Published at: 2026-07-13T19:17:10Z
  • Age in days: 134
  • Modified at: 2026-10-24T22:10:00Z
  • References total: 3
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-49972
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
  • Not known: requirement type, hackerone

Cwe

IdName
CWE-434Unrestricted Upload of File with Dangerous Type

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/plank/laravel-mediable/commit/49e3583bed13423611b3391f89e6b002571eed73
https://github.com/plank/laravel-mediable/releases/tag/7.0.0
https://www.vulncheck.com/advisories/laravel-mediable-file-upload-rce-via-extension-bypass

Projects

RepositoryLink kindsIndexedUrl
plank/laravel-mediablecommit, fix, releasesyes/v1/repositories/plank/laravel-mediable

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts