Skip to main content

Laravel Medialibrary CVE-2026-48555

| EUVDEUVD-2026-33418 MEDIUM
Server-Side Request Forgery (SSRF) (CWE-918)
2026-05-29 VulnCheck GHSA-fggg-964j-3j7h
5.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to Laravel app
  2. Delivery
    Locate addMediaFromUrl-backed endpoint
  3. Exploit
    Submit internal or metadata URL
  4. Execution
    Server issues outbound HTTP request
  5. Persist
    Response leaked or stored as media
  6. Impact
    Harvest 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

laravel-medialibrary 0 <11.23.0

Affected Packages

composer spatie/laravel-medialibrary fix: 11.23.0
euvd laravel_medialibrary fix: 11.23.0

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

Vendor (VulnCheck) PRIMARY 5.3 MEDIUM
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
Low

Lifecycle Timeline

2
Severity Changed
May 29, 2026 - 20:22 NVD
HIGH MEDIUM
CVSS changed
May 29, 2026 - 20:22 NVD
7.4 (HIGH) 5.3 (MEDIUM)

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.1%
Top 74% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

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

CVE-2012-1823 CRITICAL POC
9.8 May 11

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

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

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

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

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

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy