Skip to main content
HIGH

CVE-2026-49970

CVSS v3

8.8

HIGH

EPSS Score

1.0 %

exploit probability, as of 2026-09-25

CISA KEV

No

known exploited

Exploitation

—

SSVC status

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, env

Technical details

Published
2026-07-13
Last Modified
2026-07-14

Frequently asked questions

What is CVE-2026-49970?

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, env

Is CVE-2026-49970 actively exploited?

Active exploitation of CVE-2026-49970 has not been confirmed. Its EPSS score was 1.0% on 2026-09-25, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-49970?

CVE-2026-49970 has a CVSS v3 base score of 8.8 (HIGH severity).

Is CVE-2026-49970 affecting your environment?

Use isMalicious to check if any of your IPs or domains are associated with this vulnerability's IOCs.

No credit card required · 500 free checks/month · Free API key