{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "4.0.0-RC1"
              },
              {
                "fixed": "4.18.2"
              },
              {
                "introduced": "5.0.0-RC1"
              },
              {
                "fixed": "5.10.6"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "daac7c1da2f701f2e9ddee1da1457ce61660b581"
            },
            {
              "fixed": "c7ea105e1d2cf043e76e7847d84e5732071a26b4"
            },
            {
              "introduced": "04755d93f86d07cc183db47db8a0eee106892e30"
            },
            {
              "fixed": "5c055703a13ba3a52bf013d7ba6c0223d6f62ef8"
            }
          ],
          "repo": "https://github.com/craftcms/cms",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Hackrate",
    "cwe_ids": [
      "CWE-915"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/78xxx/CVE-2026-78416.json"
  },
  "details": "Craft CMS versions from 4.0.0-RC1 before 4.18.2 and from 5.0.0-RC1 before 5.10.6 contain an authenticated remote code execution vulnerability in control panel element-search condition handling. A JSON cleanse bypass in condition.config allows Yii behavior/event configuration keys to be interpreted after decoding, enabling command execution as the PHP/web user.",
  "id": "CVE-2026-78416",
  "modified": "2026-08-30T03:31:01.811994936Z",
  "published": "2026-08-24T15:36:07.971Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://packagist.org"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/78xxx/CVE-2026-78416.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/craftcms/cms/releases/tag/5.10.6"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-78416"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.hckrt.com/hacktivity/HCKRT-JD662P"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/craftcms/cms"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Authenticated RCE via `condition.config` JSON cleanse bypass"
}