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.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-49970 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-49970

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-49970 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-49970

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.