{"id":"CVE-2021-45040","aliases":["EUVD-2021-31837","GHSA-qc53-8q7w-83c4"],"status":"published","title":"The Spatie media-library-pro library through 1.17.10 and 2.x through 2.1.6 for Laravel allows...","description":"The Spatie media-library-pro library through 1.17.10 and 2.x through 2.1.6 for Laravel allows remote attackers to upload executable files via the uploads route.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.03155,"percentile":0.88067,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-434"],"published":"2022-03-17T20:22:52Z","modified":"2026-06-17T04:13:05Z","products":[{"vendor":"spatie","product":"laravel_media_library"}],"references":[{"url":"https://spatie.be/docs/laravel-medialibrary/v9/handling-uploads-with-media-library-pro/processing-uploads-on-the-server","tags":["x_refsource_MISC","x_transferred","Vendor Advisory"]},{"url":"https://cybersecthreat.com/2022/03/14/cve-2021-45040/","tags":["x_refsource_MISC","x_transferred","Exploit","Mitigation","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45040"},{"url":"https://github.com/advisories/GHSA-qc53-8q7w-83c4"}],"sources":{"cve":[{"id":"CVE-2021-45040","description":"The Spatie media-library-pro library through 1.17.10 and 2.x through 2.1.6 for Laravel allows remote attackers to upload executable files via the uploads route.","status":"published","published":"2022-03-17T20:22:52Z","modified":"2024-08-04T04:32:13.615Z","updated_at":"2026-11-02T14:33:02.930115Z"}],"euvd":[{"id":"EUVD-2021-31837","description":"The Spatie media-library-pro library through 1.17.10 and 2.x through 2.1.6 for Laravel allows remote attackers to upload executable files via the uploads route.","status":"published","published":"2022-03-17T20:22:52Z","modified":"2024-08-04T04:32:13Z","updated_at":"2026-11-03T03:08:28.023592Z"}],"ghsa":[{"id":"GHSA-qc53-8q7w-83c4","title":"The Spatie media-library-pro library through 1.17.10 and 2.x through 2.1.6 for Laravel allows...","description":"The Spatie media-library-pro library through 1.17.10 and 2.x through 2.1.6 for Laravel allows remote attackers to upload executable files via the uploads route.","status":"published","published":"2022-03-18T00:01:09Z","modified":"2023-01-27T05:00:47Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-434"],"updated_at":"2026-11-02T14:41:45.307734Z"}],"nvd":[{"id":"CVE-2021-45040","description":"The Spatie media-library-pro library through 1.17.10 and 2.x through 2.1.6 for Laravel allows remote attackers to upload executable files via the uploads route.","status":"published","published":"2022-03-17T21:15:07.993Z","modified":"2026-06-17T04:13:05.103Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-434"],"updated_at":"2026-11-02T14:07:05.581807Z"}]}}
