Skip to main content
VulnerabilityPublished Updated

CVE-2026-49970: plank laravel-mediable · Path Traversal

Affects plank laravel-mediableSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 8.7 High : upgrade to 7.0.0 soon.

Data as of 26 Nov 2026, 14:59 UTC

CVSS 4.0 base score
8.7High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
1.0% chance of exploitation in 30 days – higher than 62% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 7.0.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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Nov 2026.

What to do

Upgrade laravel-mediable and plank/laravel-mediable to 7.0.0.

Affected software

ProductAffectedFixed in
planklaravel-mediableAffected
  • <7.0.0
Fixed in–
GitHublaravel-mediablepkg:github/laravel-mediableOther threatsAffected
  • <7.0.0
Fixed in
  • 7.0.0
Packagistplank/laravel-mediablepkg:composer/plank/laravel-mediableOther threatsAffected
  • <7.0.0
Fixed in
  • 7.0.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

If you cannot patch yet, avoid using versions prior to 7.0.0 in production environments or restrict file upload functionality to trusted users only.

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.

References

Community reviews

Loading reviews…