What’s Vulnerable › Vulnerabilities
CVE-2026-48555: Spatie Laravel Media Library < 11.23.0 SSRF via addMediaFromUrl()
- Severity: high (CVSS 7.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-05-29 · updated 2026-10-08
- Weakness: CWE-918
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.
Affected products
- spatie laravel-medialibrary: before 11.23.0 — fixed in 11.23.0
How to fix
Upgrade to a fixed version: spatie laravel-medialibrary 11.23.0. Check the vendor advisory for mitigations.
References
- https://github.com/spatie/laravel-medialibrary/commit/608ea03703d3887c46434f5dda6af56de6346aba
- https://github.com/spatie/laravel-medialibrary/pull/3939
- https://github.com/spatie/laravel-medialibrary/releases/tag/11.23.0
- https://www.vulncheck.com/advisories/spatie-laravel-media-library-ssrf-via-addmediafromurl
Get alerted when CVE-2026-48555 or the next vulnerability affects your stack