Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Laravel app
-
DeliveryLocate addMediaFromUrl-backed endpoint
-
ExploitSubmit internal or metadata URL
-
ExecutionServer issues outbound HTTP request
-
PersistResponse leaked or stored as media
-
ImpactHarvest cloud credentials or internal data
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 | Requires that the target Laravel application exposes the addMediaFromUrl() method of the InteractsWithMedia trait to user-controlled input (for example via a profile-picture-by-URL form, an admin import feature, or an API endpoint that forwards a URL parameter to Medialibrary). The CVSS vector specifies PR:L, so the attacker must hold at least a low-privileged authenticated session in the target app; UI:N means no victim interaction is needed once that endpoint is reached. Exploitation is limited by application-level URL validation that may already exist around the sink, by network egress filtering on the host, and by whether the application runs in an environment with valuable internal targets (cloud metadata services, internal admin panels) - pure on-prem installs with strict egress are materially less impactful than cloud-hosted deployments. |
| Impact | The CVSS 7.4 vector (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L) reflects a network-reachable, low-complexity bug that requires some level of authentication (PR:L) but yields a scope change - the hallmark of SSRF reaching adjacent systems. No EPSS score, KEV listing, or public PoC was provided, so this is not currently signalled as mass-exploited; however, the upstream commit (608ea03) and VulnCheck advisory make the vulnerable sink trivially identifiable, raising the practical likelihood of weaponisation in cloud-hosted Laravel apps where IMDS exposure converts SSRF into credential theft. Real-world severity is highly deployment dependent: a marketing site running Medialibrary behind hardened egress is low risk, while a multi-tenant SaaS on AWS/GCP with default IMDSv1 is materially higher risk than the base CVSS suggests. |
| Exploit ScenarioDerived | An authenticated low-privilege user (e.g. a registered customer or CMS editor) submits a form field that the application passes to addMediaFromUrl(), supplying http://169.254.169.254/latest/meta-data/iam/security-credentials/ instead of an image URL. The Laravel server fetches the AWS instance metadata, stores or returns the response as media content, and the attacker harvests temporary IAM credentials; no public PoC is currently identified, but the patch diff makes the vulnerable sink obvious. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 29, 2026
Server-side request forgery in Spatie Laravel Medialibrary before 11.23.0 allows authenticated remote attackers to coerce the application server into issuing arbitrary outbound HTTP requests by supplying user-controlled URLs to the addMediaFromUrl() method in InteractsWithMedia.php. The flaw is reachable in any Laravel application that exposes addMediaFromUrl() to end-user input, and no public exploit identified at time of analysis, though the upstream patch and a VulnCheck advisory provide enough detail for trivial reproduction. With a CVSS of 7.4 and Scope:Changed, exploitation can pivot to internal services, cloud metadata endpoints, or other backend systems beyond the immediate Laravel host.
RemediationAI
Vendor-released patch: upgrade Spatie Laravel Medialibrary to 11.23.0 or later via composer require "spatie/laravel-medialibrary:^11.23.0", referencing the release notes at https://github.com/spatie/laravel-medialibrary/releases/tag/11.23.0 and patch commit 608ea03. Where immediate upgrade is not feasible, audit application code for calls to addMediaFromUrl() that consume request input and wrap them with an allow-list of permitted hostnames or a URL validator that resolves the host and rejects RFC1918, loopback, and link-local addresses (note: naive blocklists are bypassable via DNS rebinding, so prefer post-resolution IP checks). As compensating network controls, force the application's egress through a proxy that blocks 169.254.169.254 and internal CIDRs, and on AWS enforce IMDSv2 to neutralise the most damaging SSRF outcome - be aware that IMDSv2 enforcement can break legacy SDKs and that egress proxies may interfere with legitimate webhook or remote-image features that Medialibrary itself relies on.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in composer, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Spatie Laravel Medialibrary is a widely deployed PHP package (cpe:2.3:a:spatie:laravel-medialibrary) that abstracts file uploads, conversions, and storage for Laravel applications. The addMediaFromUrl() helper in InteractsWithMedia.php fetches a remote resource over HTTP so it can be ingested as a media object; prior to 11.23.0 it did not validate the supplied URL's scheme, host, or resolved IP, which is the canonical CWE-918 (Server-Side Request Forgery) pattern. Because the request originates from the application server, attackers can reach RFC1918 ranges, link-local addresses (169.254.169.254 cloud metadata), localhost-bound admin interfaces, and other resources normally shielded by network segmentation.
Know when PHP 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
Primary rating from Vendor (VulnCheck) · only source for this CVE.
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
Spatie Laravel Media Library before version 11.23.0 contains a server-side request forgery vulnerability that allows remote attackers to cause the server to issue arbitrary outbound HTTP requests by passing user-controlled URLs to the addMediaFromUrl() method in InteractsWithMedia.php.
Executive ViewAI
Spatie Laravel Medialibrary versions before 11.23.0 contain a server-side request forgery (SSRF) vulnerability allowing authenticated users to force application servers to issue arbitrary outbound HTTP requests, potentially accessing internal services and cloud metadata endpoints. Organizations using this library face significant risk of unauthorized backend infrastructure access and data exposure. Immediate patching is critical given the CVSS 7.4 score and potential for privilege escalation within internal networks.
Apply vendor patch: Spatie Laravel Medialibrary version 11.23.0 or later. If patching is delayed: restrict network egress to explicitly allowed domains, disable addMediaFromUrl() functionality where not business-critical, and implement alerting on requests to internal services and cloud metadata endpoints (169.254.169.254, 10.0.0.0/8).
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.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-33418
GHSA-fggg-964j-3j7h
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB