CVE-2026-48555 Spatie Laravel Media Library < 11.23.0 SSRF via addMediaFromUrl()

Medium 5.3 Published Updated

Attackers can force the server to make arbitrary outbound HTTP requests via user-controlled URLs in the addMediaFromUrl method.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-48555?

CVE-2026-48555 is a medium-severity server-side request forgery vulnerability in spatie laravel-medialibrary, published on 29 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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.

Weakness: CWE-918

Which versions are affected by CVE-2026-48555?

2 open source packages ship an affected version, including spatie/laravel-medialibrary.

PackageAffectedFixed in
spatie/laravel-medialibrary PackagistAll versions11.23.0
spatie/laravel-medialibrary PackagistAll versions11.23.0

How do I fix CVE-2026-48555?

Upgrade spatie/laravel-medialibrary to 11.23.0 or later.

Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.

Is CVE-2026-48555 being exploited?

There is no known exploitation of CVE-2026-48555 in the wild and no public exploit code.

Sources

Also known as GHSA-fggg-964j-3j7h.

Is CVE-2026-48555 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free