{"id":"CVE-2024-40400","aliases":["GHSA-47mc-qmh2-mqj4"],"url":"https://o3.security/vulnerability/CVE-2024-40400","summary":"Automad arbitrary file upload vulnerability","details":"An arbitrary file upload vulnerability in the image upload function of Automad v2.0.0 allows attackers to execute arbitrary code via a crafted file.\n\nThe malicious file has to be prepared and uploaded manually by the admin. Usually there is only one admin per site and that is the owner.","published":"2024-07-19T00:00:00Z","modified":"2026-08-12T03:51:42.530639778Z","cvss":{"score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"automad/automad","fixedVersion":"2.0.0-alpha.5"}],"fix":{"url":"https://github.com/marcantondahmen/automad/commit/112f070ccf423931c9bb2b36f9a26c345e1ef56e","label":"marcantondahmen/automad@112f070"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40400.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-40400"},{"type":"REPORT","url":"https://github.com/marcantondahmen/automad/issues/106"},{"type":"WEB","url":"https://github.com/marcantondahmen/automad/commit/112f070ccf423931c9bb2b36f9a26c345e1ef56e"},{"type":"PACKAGE","url":"https://github.com/marcantondahmen/automad"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:42.530639778Z"}}