Laravel-Mediable
CVE-2026-49969
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Laravel application
-
DeliverySubmit crafted internal URL to media upload endpoint
-
ExploitRemoteUrlAdapter fetches URL without validation
-
ExecutionServer reaches cloud metadata endpoint or internal host
-
PersistRetrieve IAM credentials or sensitive internal data
-
ImpactEscalate privileges within cloud environment
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the target application exposes at least one endpoint that accepts user-supplied URLs and processes them through MediaUploader::fromSource() using RemoteUrlAdapter - this is an explicit application integration, not a default-enabled behavior of the package itself. The CVSS 4.0 vector PR:L confirms that some level of authenticated application access is required; unauthenticated exploitation is not indicated. The most severe impact path - IAM credential exfiltration - additionally requires the application to be deployed on a cloud instance with an accessible IMDSv1-style metadata endpoint (such as AWS EC2 without IMDSv2 enforcement, which requires a Hop Limit of 1 or token-based access to mitigate). Applications running on-premises or in environments where IMDSv2 is enforced are still exposed to internal network scanning and file:// URI access but cannot be exploited for cloud credential theft via this vector. Exploitation is limited to Laravel-Mediable versions prior to 7.0.0. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) reflects a network-exploitable, low-complexity attack requiring low-privilege application access with no user interaction - a realistic threat model for any multi-user Laravel application. The base score of 5.3 is medium, but the provided impact metrics (SC:L/SI:L) materially understate real-world risk for cloud-hosted deployments: SSRF to AWS IMDSv1 or equivalent metadata endpoints can return temporary IAM credentials, enabling lateral movement and privilege escalation across the cloud account. No EPSS data was provided in the input, and no CISA KEV listing is present, indicating no confirmed widespread exploitation at time of analysis. No public POC has been identified. The practical risk is therefore deployment-context-dependent: on-premises deployments face internal network scanning and file:// URI exposure, while cloud-hosted instances face the more severe credential-theft scenario. The 5.3 score should not be used in isolation for cloud environments - risk owners should treat this as a high-priority issue if the application runs on a cloud instance with metadata endpoint access. |
| Exploit ScenarioDerived | An authenticated user on a Laravel application (e.g., a registered account) submits a crafted media import request with a URL such as http://169.254.169.254/latest/meta-data/iam/security-credentials/my-role to an endpoint wired to MediaUploader::fromSource(). The application server fetches the URL via RemoteUrlAdapter without restriction, receives the AWS IAM temporary credentials JSON response, and the attacker reads the returned content to obtain AccessKeyId, SecretAccessKey, and SessionToken. The attacker then uses these credentials against AWS APIs to enumerate and access cloud resources. No public POC has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 13, 2026
Server-side request forgery in Laravel-Mediable before 7.0.0 enables network-accessible, low-privilege attackers to issue arbitrary HTTP requests originating from the server by supplying unvalidated URLs to any application endpoint backed by MediaUploader::fromSource(). The RemoteUrlAdapter class accepts caller-controlled URLs without restricting schemes, IP ranges, or hostnames, allowing requests to RFC-1918 addresses, loopback interfaces, file:// URIs, and cloud instance metadata endpoints such as AWS IMDSv1 at 169.254.169.254. In cloud deployments, successful exploitation can yield IAM temporary credentials, enabling privilege escalation far beyond the base CVSS score of 5.3 would suggest. No public exploit or CISA KEV listing exists at time of analysis.
RemediationAI
Upgrade to Laravel-Mediable 7.0.0 immediately - the vendor designates this a security release and strongly recommends upgrading. The release is available at https://github.com/plank/laravel-mediable/releases/tag/7.0.0, with the underlying patch commit at https://github.com/plank/laravel-mediable/commit/7e9e3000fa05fe16e678f15bfb51a091e60c2cb8. After upgrading, configure mediable.allowed_remote_hosts to an explicit allowlist of trusted external hostnames and restrict mediable.allowed_remote_schemes to https only, which is the secure default in 7.0.0. If immediate patching is not possible, block outbound HTTP/HTTPS connections from the application server to RFC-1918 address ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) and cloud metadata endpoints (169.254.169.254, fd00::/8) at the host or network firewall layer - note this may break legitimate internal API integrations and requires careful enumeration before deployment. Disabling RemoteUrlAdapter entirely in the source adapter configuration is a zero-risk alternative if remote URL ingestion is not a required application feature.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Laravel-Mediable (cpe:2.3:a:plank:laravel-mediable:*:*:*:*:*:*:*:*) is a PHP Composer package for the Laravel framework that manages media upload pipelines and file storage. Its RemoteUrlAdapter component is responsible for fetching remote media by URL on behalf of the application. CWE-918 (Server-Side Request Forgery) describes the root cause: the adapter passed caller-supplied URLs directly to a server-side HTTP client without validating the destination scheme, hostname, or resolved IP address. This is a classic SSRF pattern where the trust boundary between application-controlled and attacker-controlled input collapses at the URL ingestion point. The fix in 7.0.0 introduces allowlist-based controls via mediable.allowed_remote_hosts and mediable.allowed_remote_schemes, and adds default blocking of private IP ranges and localhost when no allowlist is configured.
Know when Laravel Mediable gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:L
Network-exploitable with low privileges; scope change because SSRF reaches external systems; high confidentiality impact reflects IAM credential exfiltration from cloud metadata endpoints.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Laravel-Mediable before 7.0.0 contains a server-side request forgery vulnerability that allows remote attackers to issue arbitrary HTTP requests from the server by supplying unvalidated caller-controlled URLs to endpoints backed by MediaUploader::fromSource(). Attackers can craft URLs targeting RFC-1918 addresses, loopback interfaces, cloud metadata endpoints, or file:// URIs through RemoteUrlAdapter to reach internal infrastructure, retrieve sensitive files, and exfiltrate cloud credentials such as IAM tokens from instance metadata services.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
Affected Products (CPE)CVE.org
More in Laravel Mediable
View allUnauthenticated file upload in Laravel-Mediable 7.0.0 and 7.0.1 lets a remote attacker upload a .pht file that passes Me
Arbitrary file write in the Plank Laravel-Mediable package (before 7.0.0) lets an attacker who influences the destinatio
Remote code execution in the plank/laravel-mediable package before 7.0.0 lets attackers upload a double-extension file s
Stored XSS in Laravel-Mediable before 7.0.0 allows network-accessible, unauthenticated attackers to persist malicious Ja
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB