CVE-2026-48555: Spatie/laravel medialibrary Spatie Laravel Media Library Contains Vulnerability
MODERATECVE-2026-48555 is a MODERATE (CVSS 7.4) spatie laravel media library contains vulnerability (CWE-918: Server-Side Request Forgery (SSRF)) affecting Spatie/laravel medialibrary libraries in the Packagist ecosystem. The issue involves spatie laravel media library contains a server-side request forgery vulnerability. Remediation is available by upgrading affected packages to version 11.23.0.
CVE-2026-48555 at a Glance
Security Impact
CVSS: 7.4
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L).
How to Fix CVE-2026-48555
To remediate this vulnerability, upgrade all affected Spatie/laravel medialibrary dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade spatie/laravel-medialibrary to 11.23.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for spatie/laravel-medialibrary
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-48555, inspect your project dependencies for Spatie/laravel medialibrary:
inspect dependencies for spatie/laravel-medialibrary
Analyze the terminal output to locate any version of Spatie/laravel medialibrary in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 11.23.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-918: Server-Side Request Forgery (SSRF), where 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. In Spatie/laravel medialibrary, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-48555 Affected Spatie/laravel medialibrary Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
spatie/laravel-medialibrary
|
Packagist |
< 11.23.0
|
11.23.0
|
References
Frequently Asked Questions
What is CVE-2026-48555?
Which Spatie/laravel medialibrary versions are affected?
What version fixes CVE-2026-48555?
Is spatie/laravel-medialibrary affected?
What is the CVSS score of CVE-2026-48555?
What CWE is associated with CVE-2026-48555?
How can I check Packagist dependencies for CVE-2026-48555?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-fggg-964j-3j7h",
"modified" : "2026-07-02T21:12:18Z",
"published" : "2026-05-29T21:31:24Z",
"aliases" : [ "CVE-2026-48555" ],
"summary" : "Spatie Laravel Media Library contains a server-side request forgery vulnerability",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L"
}, {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "spatie/laravel-medialibrary"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "11.23.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-48555"
}, {
"type" : "WEB",
"url" : "https://github.com/spatie/laravel-medialibrary/pull/3939"
}, {
"type" : "WEB",
"url" : "https://github.com/spatie/laravel-medialibrary/commit/608ea03703d3887c46434f5dda6af56de6346aba"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/spatie/laravel-medialibrary"
}, {
"type" : "WEB",
"url" : "https://github.com/spatie/laravel-medialibrary/releases/tag/11.23.0"
}, {
"type" : "WEB",
"url" : "https://www.vulncheck.com/advisories/spatie-laravel-media-library-ssrf-via-addmediafromurl"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-918" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-07-02T21:12:18Z",
"nvd_published_at" : "2026-05-29T20:16:28Z"
}
}