{"id":"CVE-2021-45040","aliases":["CVE-2021-45040"],"related":[],"kind":"vulnerability","state":"published","title":"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 v…","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"La biblioteca Spatie media-library-pro versiones hasta 1.17.10 y versiones 2.x hasta 2.1.6, para Laravel, permite a atacantes remotos subir archivos ejecutables por la ruta de subida","source":"nvd"}],"published":"2022-03-17T20:22:52.000Z","modified":"2026-06-17T04:13:05.103Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","score":10,"rating":"HIGH"}],"cwes":["CWE-434"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"1.17.10"},{"status":"affected","introduced":"2.0.0","lastAffected":"2.1.6"}],"vendor":"spatie","product":"laravel_media_library","cpe":"cpe:2.3:a:spatie:laravel_media_library:*:*:*:*:pro:*:*:*","source":"nvd"}],"references":[{"url":"https://spatie.be/docs/laravel-medialibrary/v9/handling-uploads-with-media-library-pro/processing-uploads-on-the-server","tags":["vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://cybersecthreat.com/2022/03/14/cve-2021-45040/","tags":["exploit","mitigation","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-45040","url":"https://www.cve.org/CVERecord?id=CVE-2021-45040","licence":"CVE Terms of Use","modified":"2024-08-04T04:32:13.615Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-45040","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45040","licence":"Public domain","modified":"2026-06-17T04:13:05.103Z"}],"updatedAt":"2026-11-25T22:58:07.231Z","epss":{"score":0.03155,"percentile":0.88309,"date":"2026-12-01T12:00:22.000Z"}}