p PatchFirst

PatchFirst · Latest vulnerabilities

spatie/laravel-medialibrary vulnerabilities

Vulnerabilities published for spatie/laravel-medialibrary in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 2

  1. CVE-2026-48557

    High · CVSS 8.7EPSS 0.44%Fix available

    Spatie Laravel Media Library < 11.23.0 File Upload Restriction Bypass via FileAdder.php

    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.

    • Update to 11.23.0
    Published Updated
  2. CVE-2026-48555

    Medium · CVSS 5.3EPSS 0.25%Fix available

    Spatie Laravel Media Library < 11.23.0 SSRF via addMediaFromUrl()

    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.

    • Update to 11.23.0
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →