CVE-2026-49972
published high CVSS 4.0 · 7.7Laravel-Mediable < 7.0.0 File Upload RCE via Extension Bypass
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| plank | — | laravel-mediable0 to < 7.0.0 · Other versions: affected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.7 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.8 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| plank | laravel-mediable | 0 to < 7.0.0 (affected · semver)Default: affected | VulnCheck · cna |
Weaknesses
1- CWE-434 Unrestricted Upload of File with Dangerous Type
References
3- Patch Commit https://github.com/plank/laravel-mediable/commit/49e3583bed13423611b3391f89e6b002571eed73
- laravel-mediable 7.0.0 Release Notes https://github.com/plank/laravel-mediable/releases/tag/7.0.0
- https://www.vulncheck.com/advisories/laravel-mediable-file-upload-rce-via-extension-bypass
Provider assertions
2VulnCheck · cna
Laravel-Mediable < 7.0.0 File Upload RCE via Extension Bypass
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 55857591086fa089cb0e35445fe60fcbf9079fd6f37fd277e0252be1ccb7d97e
- Ingested
- 23 Sep 2026, 09:17:57 UTC
- Source record
- Official CVE record