CVE-2026-112773
published high CVSS 4.0 · 8.7Craft CMS 5.0.0 before 5.11.0 RCE via Twig Sandbox Behavior Injection
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| 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 from 5.0.0 before 5.11.0 contains a remote code execution vulnerability that allows authenticated Control Panel users to escape the Twig sandbox by passing uncleansed criteria to getNext, getPrev, or getOwners. Attackers can inject Yii "as" or "on" config keys to attach malicious event handlers that execute when the element query runs, achieving code execution as the web user.
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
- 8.7 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.8 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| craftcms | cms | 5.0.0 to < 5.11.0 (affected · semver)5.11.0 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-94 Improper Control of Generation of Code ('Code Injection')
References
2- GitHub Security Advisory (GHSA-wr79-9v6x-5rfq) https://github.com/craftcms/cms/security/advisories/GHSA-wr79-9v6x-5rfq
- VulnCheck Advisory: Craft CMS 5.0.0 before 5.11.0 RCE via Twig Sandbox Behavior Injection https://www.vulncheck.com/advisories/craft-cms-5.0.0-before-5.11.0-rce-via-twig-sandbox-behavior-injection
Provider assertions
2VulnCheck · cna
Craft CMS 5.0.0 before 5.11.0 RCE via Twig Sandbox Behavior Injection
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ee7a26b4b5cc55915ad939ae3111f5bc76b5b5b60ccf99cdd7d59880a1d506dc
- Ingested
- 19 Oct 2026, 21:35:07 UTC
- Source record
- Official CVE record