{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "4.0.0"
              },
              {
                "fixed": "4.18.8"
              },
              {
                "introduced": "5.0.0"
              },
              {
                "fixed": "5.11.0"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "982efcd14d7e93a1a54f0905b61f242de6b53d8a"
            },
            {
              "fixed": "feda70e264a9330919bea9eb607148198135afd4"
            },
            {
              "introduced": "f6a8fb685d44e387435825e3a96809eeda4973a6"
            },
            {
              "fixed": "2255717bfd5cc502751601aa68bf72eea035cd47"
            }
          ],
          "repo": "https://github.com/craftcms/cms",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-j697-8x93-7mp2"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-200"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112771.json"
  },
  "details": "Craft CMS 4.0.0 before 4.18.8 and 5.0.0 before 5.11.0 contains a Twig sandbox allowlist bypass because the column, contains, filterByValue, index, where, and multisort filters resolve caller-supplied keys via ArrayHelper::getValue() without consulting the sandbox security policy. Authenticated Control Panel users can supply dot-path keys to traverse the craft global and disclose the securityKey, database credentials, and auth tokens.",
  "id": "CVE-2026-112771",
  "modified": "2026-10-20T10:30:36.899612872Z",
  "published": "2026-10-19T19:10:50.470Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112771.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/craftcms/cms/security/advisories/GHSA-j697-8x93-7mp2"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-112771"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/craft-cms-before-4.18.8-and-5.11.0-twig-sandbox-allowlist-bypass-via-array-filters"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Craft CMS before 4.18.8 and 5.11.0 Twig Sandbox Allowlist Bypass via Array Filters"
}