Packagist (PHP)Worst: High2 advisories

spatie/laravel-medialibrary: known vulnerabilities

spatie/laravel-medialibrary has 2 reviewed security advisories in the GitHub Advisory Database — 1 high, 1 moderate. The most recent was published 2026-05-29. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the spatie/laravel-medialibrary versions running across your servers, containers and images, and ranks what to patch first.

How to fix spatie/laravel-medialibrary

Upgrade spatie/laravel-medialibrary to a release at or above the fixed version shown for each advisory below. For Packagist (PHP):

composer require spatie/laravel-medialibrary:^11.23.0 (composer audit)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (2)

Spatie Laravel Media Library contains a file upload restriction bypass High 8.8 CWE-184 — Affected: before 11.23.0. Fixed in 11.23.0. Published 2026-05-29. GHSA-3ggm-c5m7-hfv5 · CVE-2026-48557
Spatie Laravel Media Library contains a server-side request forgery vulnerability Moderate 7.4 CWE-918 — Affected: before 11.23.0. Fixed in 11.23.0. Published 2026-05-29. GHSA-fggg-964j-3j7h · CVE-2026-48555

Find spatie/laravel-medialibrary across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.