Laravel-Mediable before 7.0.0 contains a path traversal vulnerability in the File::sanitizePath() function that allows attackers to write uploaded files to arbitrary locations by controlling the directory argument passed to MediaUploader::toDestination(). Attackers can exploit the permissive character-class regex that allows both dot and slash characters combined with an ineffective trailing trim() call to bypass sanitization and upload files to sensitive locations such as the document root, environment configuration files, or application configuration directories, enabling remote code execution.
CVE-2026-49970
Score 8.8 from GitHub Security Advisory (severity: HIGH) published 2026-07-13. a secondary CVSS source baseline 8.8; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 8.8
- EG Score
- 8.8(medium)
- EG Risk
- 40(Track)EG Risk 40/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity88% × 45%Exploitation1% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 1%
- EPSS %ILE
- 61%
- KEV
- Not listed
Published
July 13, 2026
Last Modified
July 14, 2026
Advisory Details (3)
Auto-updated Jul 13, 2026Laravel-Mediable < 7.0.0 Path Traversal via File::sanitizePath() | Advisories | VulnCheck
https://www.vulncheck.com/advisories/laravel-mediable-path-traversal-via-file-sanitizepath7.0.0
Patch available: plank/laravel-mediable 7.0.0
https://github.com/plank/laravel-mediable/releases/tag/7.0.0commit 6d1e7fb39922 (plank/laravel-mediable)
Patch available: plank/laravel-mediable 7.0.0 (contains commit 6d1e7fb39922)
https://github.com/plank/laravel-mediable/commit/6d1e7fb39922fdfb3b2d120e13f4eb2e653ae082Vendor Advisories for CVE-2026-49970(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
Packagist(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| plank/laravel-mediable | 0.1.0 ... 6.5.0 (91 versions) | 7.0.0 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 11× in last 7d / 83× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 127 total refreshes for this CVE.
- 2026-08-30 05:28 UTCEG score recompute
- 2026-08-30 01:22 UTCEPSS rescore
- 2026-08-28 21:41 UTCEPSS rescore
- 2026-08-28 02:32 UTCEG score recompute
- 2026-08-27 14:25 UTCEPSS rescore
- 2026-08-27 01:11 UTCEG score recompute
- 2026-08-26 14:46 UTCEPSS rescore
- 2026-08-26 02:21 UTCEG score recompute
- 2026-08-25 13:49 UTCEPSS rescore
- 2026-08-24 20:42 UTCEG score recompute
- 2026-08-23 09:36 UTCEG score recompute
- 2026-08-23 00:19 UTCEPSS rescore
- 2026-08-22 10:43 UTCEG score recompute
- 2026-08-21 23:49 UTCEPSS rescore
- 2026-08-20 23:58 UTCEG score recompute
- 2026-08-20 22:55 UTCEPSS rescore
- 2026-08-20 01:11 UTCEG score recompute
- 2026-08-19 17:04 UTCEPSS rescore
- 2026-08-18 22:52 UTCEG score recompute
- 2026-08-18 13:48 UTCEPSS rescore
- 2026-08-17 23:42 UTCEG score recompute
- 2026-08-17 13:47 UTCEPSS rescore
- 2026-08-17 00:54 UTCEG score recompute
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 13:31 UTCEG score recompute
Show 75 moreShow fewer
- 2026-08-16 02:14 UTCEPSS rescore
- 2026-08-15 03:22 UTCEG score recompute
- 2026-08-15 01:30 UTCEPSS rescore
- 2026-08-14 04:35 UTCEG score recompute
- 2026-08-13 22:00 UTCEPSS rescore
- 2026-08-13 17:12 UTCGHSA enrichment
- 2026-08-13 05:49 UTCEG score recompute
- 2026-08-13 05:49 UTCGHSA enrichment
- 2026-08-12 18:25 UTCEG score recompute
- 2026-08-12 18:25 UTCGHSA enrichment
- 2026-08-12 13:51 UTCEPSS rescore
- 2026-08-12 07:02 UTCGHSA enrichment
- 2026-08-11 19:38 UTCEG score recompute
- 2026-08-11 19:38 UTCGHSA enrichment
- 2026-08-11 08:14 UTCEG score recompute
- 2026-08-11 08:14 UTCGHSA enrichment
- 2026-08-11 00:00 UTCEPSS rescore
- 2026-08-10 20:51 UTCGHSA enrichment
- 2026-08-10 09:27 UTCGHSA enrichment
- 2026-08-09 22:04 UTCEG score recompute
- 2026-08-09 22:04 UTCGHSA enrichment
- 2026-08-09 13:46 UTCEPSS rescore
- 2026-08-09 10:41 UTCGHSA enrichment
- 2026-08-08 23:18 UTCEG score recompute
- 2026-08-08 23:18 UTCGHSA enrichment
- 2026-08-08 16:37 UTCEPSS rescore
- 2026-08-08 11:54 UTCGHSA enrichment
- 2026-08-08 00:31 UTCEG score recompute
- 2026-08-08 00:31 UTCGHSA enrichment
- 2026-08-07 13:08 UTCGHSA enrichment
- 2026-08-07 01:45 UTCGHSA enrichment
- 2026-08-06 14:22 UTCEG score recompute
- 2026-08-06 14:22 UTCGHSA enrichment
- 2026-08-06 13:47 UTCEPSS rescore
- 2026-08-06 02:58 UTCEG score recompute
- 2026-08-06 02:58 UTCGHSA enrichment
- 2026-08-05 19:17 UTCEPSS rescore
- 2026-08-05 15:35 UTCGHSA enrichment
- 2026-08-05 03:35 UTCGHSA enrichment
- 2026-08-04 16:12 UTCEG score recompute
- 2026-08-04 16:12 UTCGHSA enrichment
- 2026-08-04 15:10 UTCEPSS rescore
- 2026-08-04 10:39 UTCEPSS rescore
- 2026-08-04 04:49 UTCGHSA enrichment
- 2026-08-03 17:26 UTCEG score recompute
- 2026-08-03 17:26 UTCGHSA enrichment
- 2026-08-03 10:36 UTCEPSS rescore
- 2026-08-03 05:58 UTCGHSA enrichment
- 2026-08-02 18:04 UTCGHSA enrichment
- 2026-08-02 06:41 UTCEG score recompute
- 2026-08-02 06:41 UTCGHSA enrichment
- 2026-08-02 02:27 UTCEPSS rescore
- 2026-08-01 19:17 UTCGHSA enrichment
- 2026-08-01 07:54 UTCEG score recompute
- 2026-08-01 07:54 UTCGHSA enrichment
- 2026-08-01 04:16 UTCEPSS rescore
- 2026-07-31 20:31 UTCGHSA enrichment
- 2026-07-31 09:07 UTCGHSA enrichment
- 2026-07-30 21:44 UTCEG score recompute
- 2026-07-30 21:44 UTCGHSA enrichment
- 2026-07-30 16:28 UTCEPSS rescore
- 2026-07-30 08:27 UTCEG score recompute
- 2026-07-30 08:27 UTCGHSA enrichment
- 2026-07-30 01:30 UTCEPSS rescore
- 2026-07-29 21:04 UTCGHSA enrichment
- 2026-07-29 08:16 UTCGHSA enrichment
- 2026-07-28 20:52 UTCEG score recompute
- 2026-07-28 20:52 UTCGHSA enrichment
- 2026-07-28 15:37 UTCEPSS rescore
- 2026-07-28 09:27 UTCGHSA enrichment
- 2026-07-27 22:04 UTCEG score recompute
- 2026-07-27 22:04 UTCGHSA enrichment
- 2026-07-27 10:40 UTCGHSA enrichment
- 2026-07-26 23:16 UTCEG score recompute
- 2026-07-26 23:16 UTCGHSA enrichment
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2026-49970?
When was CVE-2026-49970 disclosed?
Is CVE-2026-49970 actively exploited?
What is the CVSS score of CVE-2026-49970?
How do I remediate CVE-2026-49970?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-49970
Is Your Infrastructure Affected by CVE-2026-49970?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.