{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "2.1.854"
              },
              {
                "fixed": "2.5.5"
              }
            ],
            "source": "DESCRIPTION"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "8da1d3ff68942e2d976675939fe72c95746e366e"
            }
          ],
          "repo": "https://github.com/lllyasviel/fooocus",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "mitre",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/51xxx/CVE-2026-51974.json"
  },
  "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.",
  "id": "CVE-2026-51974",
  "modified": "2026-09-04T03:30:44.570338375Z",
  "published": "2026-09-01T00:00:00Z",
  "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"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}