{"id":"CVE-2026-51974","details":"An eval() injection vulnerability in the get_list function in modules/meta_parser.py in lllyasviel Fooocus 2.1.854 through 2.5.5 allows remote attackers to execute arbitrary Python code via a crafted styles payload in the EXIF metadata of an uploaded image file.","modified":"2026-09-10T03:30:52.129834906Z","published":"2026-09-01T00:00:00Z","database_specific":{"cna_assigner":"mitre","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/51xxx/CVE-2026-51974.json"},"references":[{"type":"WEB","url":"https://github.com/lllyasviel/Fooocus/blob/main/modules/meta_parser.py#L89"},{"type":"WEB","url":"https://mrbruh.com/fooocus/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/51xxx/CVE-2026-51974.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-51974"},{"type":"REPORT","url":"https://github.com/lllyasviel/Fooocus/issues/4115"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/lllyasviel/fooocus","events":[{"introduced":"0"},{"fixed":"8da1d3ff68942e2d976675939fe72c95746e366e"}],"database_specific":{"source":"DESCRIPTION","extracted_events":[{"introduced":"2.1.854"},{"fixed":"2.5.5"}]}}],"versions":["v2.5.3","v2.5.2","v2.5.1","v2.5.0","v2.4.3","v2.4.2","v2.4.1","v2.4.0","2.3.1","2.3.0","2.2.1","2.2.0","2.1.865","2.1.864","1.0.35","release"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-51974.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}