CVE-2026-49969
Deferred Deferred - Pending Action

Server-Side Request Forgery in Laravel-Mediable

Vulnerability report for CVE-2026-49969, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-13

Last updated on: 2026-07-15

Assigner: VulnCheck

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-13
Last Modified
2026-07-15
Generated
2026-08-03
AI Q&A
2026-07-14
EPSS Evaluated
2026-08-01
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
spatie laravel-mediable to 7.0.0 (exc)
plank laravel-mediable to 7.0.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-918 The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-49969 is a Server-Side Request Forgery (SSRF) vulnerability in the Laravel-Mediable package, specifically affecting versions before 7.0.0. The vulnerability exists in the RemoteUrlAdapter component, which does not properly validate URLs provided to the MediaUploader::fromSource() method.

Attackers can exploit this flaw by supplying crafted, unvalidated URLs to the affected endpoints. This allows them to issue arbitrary HTTP requests from the server, potentially targeting internal infrastructure such as RFC-1918 addresses, loopback interfaces, cloud metadata endpoints, or file:// URIs.

  • The vulnerability enables attackers to access sensitive files on the server.
  • It can also be used to exfiltrate cloud credentials, such as IAM tokens, from instance metadata services.

The issue was fixed in Laravel-Mediable version 7.0.0 by introducing URL validation mechanisms, including allowlists for remote hosts and schemes.

Detection Guidance

Detecting this vulnerability requires checking if your Laravel application uses an affected version of the laravel-mediable package (versions before 7.0.0) and if the RemoteUrlAdapter component is exposed to untrusted input.

  • Check the installed version of laravel-mediable in your project. You can do this by running: composer show spatie/laravel-mediable or composer show plank/laravel-mediable. If the version is below 7.0.0, your system is vulnerable.
  • Review your application's code for usage of MediaUploader::fromSource() with user-supplied URLs. Look for endpoints that accept URLs and pass them to this method without validation.
  • Monitor network traffic for unexpected outbound HTTP requests from your server, especially to internal or cloud metadata endpoints (e.g., 169.254.169.254 for AWS). Tools like tcpdump or Wireshark can help capture such traffic. Example command: tcpdump -i any 'host 169.254.169.254'.
  • Check server logs for unusual requests to internal IP ranges (RFC-1918 addresses like 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) or loopback addresses (127.0.0.1).
  • Use vulnerability scanning tools like Nessus, OpenVAS, or OWASP ZAP to scan for SSRF vulnerabilities in your Laravel application. These tools may detect misconfigurations or known vulnerable components.
Impact Analysis

This vulnerability can have several serious impacts if exploited.

  • Attackers can send arbitrary HTTP requests from your server, potentially accessing internal systems that are not meant to be publicly exposed. This includes private IP addresses, loopback interfaces, or cloud metadata services.
  • Sensitive files stored on the server or internal network can be accessed and exfiltrated by attackers.
  • Cloud credentials, such as IAM tokens, can be stolen from instance metadata services. This could lead to further compromise of cloud resources, unauthorized access to databases, or other critical infrastructure.
  • The vulnerability can be exploited remotely, meaning attackers do not need physical or local access to your systems to carry out an attack.

Overall, this vulnerability poses a risk to the confidentiality, integrity, and availability of your systems and data.

Compliance Impact

This vulnerability can impact compliance with several common standards and regulations, depending on the nature of the data and systems involved.

  • GDPR (General Data Protection Regulation): If the server processes or stores personal data of EU citizens, exploitation of this vulnerability could lead to unauthorized access or exfiltration of that data. This would constitute a data breach under GDPR, potentially resulting in significant fines and legal consequences.
  • HIPAA (Health Insurance Portability and Accountability Act): For organizations handling protected health information (PHI), this vulnerability could allow attackers to access or exfiltrate sensitive patient data. A breach of PHI would violate HIPAA regulations, leading to penalties and mandatory breach notifications.
  • PCI DSS (Payment Card Industry Data Security Standard): If the server processes or stores payment card information, exploitation of this vulnerability could lead to unauthorized access to cardholder data. This would violate PCI DSS requirements and could result in fines or loss of payment processing capabilities.
  • Other industry-specific regulations: Depending on the sector, this vulnerability could also impact compliance with standards like SOX (Sarbanes-Oxley Act) for financial data, or FISMA (Federal Information Security Management Act) for U.S. government systems.

In all cases, failing to address this vulnerability could result in non-compliance, legal liabilities, reputational damage, and financial losses.

Mitigation Strategies

To mitigate this vulnerability, follow these immediate steps:

  • Upgrade laravel-mediable to version 7.0.0 or later. This version includes fixes for the SSRF vulnerability by introducing URL validation and configuration options to restrict remote hosts and schemes. Run: composer require spatie/laravel-mediable:^7.0.0 or composer require plank/laravel-mediable:^7.0.0.
  • If upgrading is not immediately possible, apply the configuration changes introduced in the fix. Add the following to your laravel-mediable configuration (config/mediable.php):
  • 'remote' => [
  • 'allowed_remote_hosts' => ['*.example.com'], // Replace with trusted hostnames or leave empty to block private IPs
  • 'allowed_remote_schemes' => ['https'], // Restrict to HTTPS only
  • ]
  • Restrict access to endpoints that use MediaUploader::fromSource() with user-supplied URLs. Implement input validation to ensure only trusted URLs are processed.
  • Monitor and block outbound traffic from your server to internal IP ranges, loopback addresses, and cloud metadata endpoints using network-level controls (e.g., firewalls).
  • Review and rotate any exposed cloud credentials (e.g., IAM tokens) that may have been accessed via this vulnerability.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-49969. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart