CVE-2026-112772
8.8 HIGHpublic exploit availablePublished 2026-10-19 · Updated 2026-10-20
AI risk analysis
- Summary
- Craft CMS versions before 5.11.0 allow authenticated Control Panel users to escape the Twig sandbox by exploiting unfiltered 'as' or 'on' keys in Asset::getMimeType transforms, leading to arbitrary code execution via Craft::createObject.
- Exploitability
- Exploitation requires valid Control Panel authentication and knowledge of the vulnerable transform mechanism; no privilege escalation beyond authenticated user is needed.
- Blast radius
- Successful exploitation grants the web server process's privileges, enabling full compromise of confidentiality, integrity, and availability of the CMS and potentially adjacent systems.
- Detection
- No reliable host or network indicator is derivable from the published description.
- Prioritized remediation
- Upgrade to Craft CMS 5.11.0 or later, which patches the unfiltered key handling in Asset::getMimeType transforms.
rcetwig-sandbox-escapecwe94authenticatedcraft-cms
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
NVD 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 via Asset::getMimeType transforms. Attackers can supply 'as' or 'on' keys passed unfiltered to Craft::createObject, attaching malicious behaviors or event handlers that execute code as the web user.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-94
Public exploit & PoC references
References
Data: NVD (public domain). Analysis: local $0 model. Defensive use only.