# CVE-2026-112771: Craft CMS before 4.18.8 and 5.11.0 Twig Sandbox Allowlist Bypass via Array Filters

- Severity: High 7.1 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 26% of CVEs (2026-12-01)
- Published: 2026-10-19T19:10:50.470Z
- Modified: 2026-10-20T16:17:03.003Z
- Weaknesses: CWE-200
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- craftcms cms: from 4.0.0 before 4.18.8; from 5.0.0 before 5.11.0 (not affected: 4.18.8; 5.11.0)

## Every score

- VulnCheck: CVSS:4.0 7.1 High `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`
- VulnCheck: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/craftcms/cms/security/advisories/GHSA-j697-8x93-7mp2> (vendor-advisory)
- <https://www.vulncheck.com/advisories/craft-cms-before-4.18.8-and-5.11.0-twig-sandbox-allowlist-bypass-via-array-filters> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-112771](https://www.cve.org/CVERecord?id=CVE-2026-112771), CVE Terms of Use, modified 2026-10-20
- NVD: [CVE-2026-112771](https://nvd.nist.gov/vuln/detail/CVE-2026-112771), Public domain, modified 2026-10-20

---

Page: https://cve.day/CVE-2026-112771 · Whole record: https://cve.day/CVE-2026-112771.json · Rebuilt by cve.day 2026-11-25T22:59:45.927Z
