CVE-2026-49970
Last modified
CVE-2026-49970 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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.. EPSS estimates a 0.77% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| plank | laravel-mediable | < 7.0.0 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-49970?
How severe is CVE-2026-49970?
How do I fix CVE-2026-49970?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-49957Hermes WebUI before version 0.51.296 contains a workspace bo…7.7
- CVE-2026-49958Hermes WebUI before version 0.51.303 contains a time-of-chec…5
- CVE-2026-49959Hermes WebUI before version 0.51.311 contains a remote code …8.8
- CVE-2026-4996A vulnerability was identified in Sinaptik AI PandasAI up to…7.3
- CVE-2026-49969Laravel-Mediable before 7.0.0 contains a server-side request…7.4
- CVE-2026-4997A security flaw has been discovered in Sinaptik AI PandasAI …5.5
- CVE-2026-49971Laravel-Mediable before 7.0.0 contains a stored cross-site s…6.1
- CVE-2026-49972Laravel-Mediable before 7.0.0 contains a file upload vulnera…8.8
- CVE-2026-49973Hermes WebUI before version 0.51.358 contains an improper ac…9.4
- CVE-2026-49975Memory Allocation with Excessive Size Value vulnerability in…7.5
- CVE-2026-49977tarteaucitron.js is a compliant and accessible cookie banner…4.3
- CVE-2026-49978DOMPurify is a DOM-only cross-site scripting sanitizer for H…6.1
Are you affected by CVE-2026-49970?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
