Skip to content

← Public intelligence

Packagist package

spatie/laravel-medialibrary

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

2 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. High, CVSS 8.7PackagistPublished

    Spatie Laravel Media Library contains a file upload restriction bypass

    CVE-2026-48557 · GHSA-3ggm-c5m7-hfv5

    Affected
    • Packagist spatie/laravel-medialibrary < 11.23.0
    Fixed in
    11.23.0· Vendor fix available
    Issue
    Spatie Laravel Media Library before version 11.23.0 contains a file upload restriction bypass in FileAdder::defaultSanitizer(). The sanitizer checks only the final filename suffix, allowing double-extension filenames such as shell.php.jpg to bypass the blocklist, with pathinfo() preserving inner .php stems in saved filenames. The blocklist also omits executable extensions including .php6, .shtml, and .htaccess. The double-extension bypass requires a legacy Apache AddHandler configuration to achieve PHP execution; the incomplete blocklist bypass does not.

    Recommended action: Upgrade to 11.23.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  2. Medium, CVSS 5.3PackagistPublished

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

    CVE-2026-48555 · GHSA-fggg-964j-3j7h

    Affected
    • Packagist spatie/laravel-medialibrary < 11.23.0
    Fixed in
    11.23.0· Vendor fix available
    Issue
    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.

    Recommended action: Upgrade to 11.23.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →