Is spatie/laravel-medialibrary 7.20 vulnerable?

Composer · 1 release from 7.20.0 to 7.20.0 · latest spatie/laravel-medialibrary is 11.23.11 · checked 1 Nov 2026

Yes: 2 known advisories

Yes. spatie/laravel-medialibrary 7.20.0, the last 7.20 release, is affected by 2 known security advisories (1 high, 1 medium), including CVE-2026-48557, CVE-2026-48555. Upgrade to 11.23.0 or later to fix all of them.

Upgrade with:composer require spatie/laravel-medialibrary:^11.23.0

Is your project affected?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Advisories affecting spatie/laravel-medialibrary 7.20.0

  • HighCVE-2026-48557GHSA-3ggm-c5m7-hfv529 May 2026

    Spatie Laravel Media Library contains a file upload restriction bypass

    Affected
    <11.23.0
    Fixed in
    11.23.0
  • MediumCVE-2026-48555GHSA-fggg-964j-3j7h29 May 2026

    Spatie Laravel Media Library contains a server-side request forgery vulnerability

    Affected
    <11.23.0
    Fixed in
    11.23.0

Which of your client projects are still on spatie/laravel-medialibrary 7.20?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact spatie/laravel-medialibrary version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other spatie/laravel-medialibrary versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the Composer registry. Refreshed daily.