Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Laravel-Mediable (plank/laravel-mediable) before 7.0.0 has a path traversal flaw in File::sanitizePath(). If an attacker can control the directory passed to MediaUploader::toDestination(), they can write uploaded files to arbitrary locations, such as the document root or configuration files, which could lead to remote code execution. Upgrade to version 7.0.0 or later; the source does not list a workaround.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 8.7 | High | 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | CNA (VulnCheck) |
- CISA KEV Not listed.
- EPSS 0.010, the 64th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:24 UTC First seen by agentprime
- 31 Oct 2026, 14:24 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-xv8g-76mx-2rxc
- OSV: GHSA-xv8g-76mx-2rxc
- nvd.nist.gov/vuln/detail/CVE-2026-49970
- github.com/plank/laravel-mediable/pull/391
- github.com/plank/laravel-mediable/commit/6d1e7fb39922fdfb3b2d120e13f4eb2e653ae082
- github.com/plank/laravel-mediable
- github.com/plank/laravel-mediable/releases/tag/7.0.0
- www.vulncheck.com/advisories/laravel-mediable-path-traversal-via-file-sanitizepath