PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-49970 plank CVE debrief

CVE-2026-49970 is a path traversal vulnerability in Laravel-Mediable before 7.0.0. The vulnerability exists in the File::sanitizePath() function, which allows attackers to write uploaded files to arbitrary locations by controlling the directory argument passed to MediaUploader::toDestination(). This enables remote code execution in sensitive locations such as the document root, environment configuration files, or application configuration directories. Affected operators, platforms, vulnerability-management, and security teams should review and act on this CVE.

Vendor
plank
Product
laravel-mediable
CVSS
HIGH 8.7
CISA KEV
Not listed in stored evidence
Original CVE published
2026-07-13
Original CVE updated
2026-07-13
Advisory published
2026-07-13
Advisory updated
2026-07-13

Who should care

Users of Laravel-Mediable before version 7.0.0 should be aware of this vulnerability and take steps to mitigate it. Affected operators, platforms, vulnerability-management, and security teams should review and act on this CVE. They should also validate and sanitize user input to prevent path traversal and monitor for suspicious file uploads and directory changes.

Technical summary

The vulnerability is caused by a permissive character-class regex that allows both dot and slash characters combined with an ineffective trailing trim() call. This allows attackers to bypass sanitization and upload files to sensitive locations, enabling remote code execution. The affected product, Laravel-Mediable, has a version prior to 7.0.0 that is vulnerable. Defenders should focus on upgrading to version 7.0.0 or later and validating user input to prevent path traversal.

Defensive priority

High

Recommended defensive actions

  • Upgrade to Laravel-Mediable version 7.0.0 or later
  • Validate and sanitize user input to prevent path traversal
  • Monitor for suspicious file uploads and directory changes
  • Implement additional security measures such as web application firewalls and intrusion detection systems
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented

Evidence notes

The CVE record was published on 2026-07-13T19:17:09.943Z and last modified on 2026-07-13T19:28:49.830Z. The NVD entry is currently Deferred. Evidence is limited to CVE and NVD information. Defenders should verify affected scope and vendor guidance. Additional verification tasks include reviewing the official advisory, checking for affected product deployments, and tracking exceptions.

Official resources

AI-assisted PatchSiren debrief based on the supplied source corpus. The CVE record was published on 2026-07-13T19:17:09.943Z and has not been modified since then. The NVD entry is currently Deferred.