{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "5.8.7"
              },
              {
                "fixed": "5.9.0-beta.1"
              }
            ]
          },
          "events": [
            {
              "introduced": "79c68d9f00ece882c0e9c336e4545fef5f9b06a7"
            },
            {
              "fixed": "0ad14c3c7e590461b52aeb44859659e2e231e04d"
            }
          ],
          "repo": "https://github.com/craftcms/cms",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "4.0.0-RC1"
              },
              {
                "fixed": "4.17.0-beta.1"
              }
            ]
          },
          "events": [
            {
              "introduced": "daac7c1da2f701f2e9ddee1da1457ce61660b581"
            },
            {
              "fixed": "42cef196d68dd8d48ceaab89b2c9e2edd2cecbe8"
            }
          ],
          "repo": "https://github.com/craftcms/cms",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-94rc-cqvm-m4pw"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-1336"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/28xxx/CVE-2026-28695.json"
  },
  "details": "Craft is a content management system (CMS). There is an authenticated admin RCE in Craft CMS 5.8.21 via Server-Side Template Injection using the create() Twig function combined with a Symfony Process gadget chain. The create() Twig function exposes Craft::createObject(), which allows instantiation of arbitrary PHP classes with constructor arguments. Combined with the bundled symfony/process dependency, this enables RCE. This bypasses the fix implemented for CVE-2025-57811 (patched in 5.8.7). This vulnerability is fixed in 5.9.0-beta.1 and 4.17.0-beta.1.",
  "id": "CVE-2026-28695",
  "modified": "2026-04-01T23:08:11.249373214Z",
  "published": "2026-03-04T16:15:32.556Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/28xxx/CVE-2026-28695.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/craftcms/cms/security/advisories/GHSA-94rc-cqvm-m4pw"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-28695"
    },
    {
      "type": "FIX",
      "url": "https://github.com/craftcms/cms/commit/e31e50849ad71638e11ea55fbd1ed90ae8f8f6e0"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Craft affected by authenticated RCE via Twig SSTI - create() function + Symfony Process gadget"
}