CVE-2026-112771
published high CVSS 4.0 · 7.1Craft CMS before 4.18.8 and 5.11.0 Twig Sandbox Allowlist Bypass via Array Filters
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| craftcms | — | cms4.0.0 to < 4.18.8 (affected · semver) · 4.18.8 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
| craftcms | — | cms5.0.0 to < 5.11.0 (affected · semver) · 5.11.0 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.5 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| craftcms | cms | 4.0.0 to < 4.18.8 (affected · semver)4.18.8 (unaffected · semver)Default: unaffected | VulnCheck · cna |
| craftcms | cms | 5.0.0 to < 5.11.0 (affected · semver)5.11.0 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
References
2- GitHub Security Advisory (GHSA-j697-8x93-7mp2) https://github.com/craftcms/cms/security/advisories/GHSA-j697-8x93-7mp2
- VulnCheck Advisory: Craft CMS before 4.18.8 and 5.11.0 Twig Sandbox Allowlist Bypass via Array Filters https://www.vulncheck.com/advisories/craft-cms-before-4.18.8-and-5.11.0-twig-sandbox-allowlist-bypass-via-array-filters
Provider assertions
2VulnCheck · cna
Craft CMS before 4.18.8 and 5.11.0 Twig Sandbox Allowlist Bypass via Array Filters
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d00984e548f0464806f75b7179a279e463a8f5ea13c3375658ae2ec2e9d60892
- Ingested
- 20 Oct 2026, 15:25:16 UTC
- Source record
- Official CVE record