CVE-2026-11407: Pimcore CMS 12.3.8 Twig Sandbox Bypass via SecurityPolicy checkMethodAllowed
Pimcore CMS/DXP version 12.3.8 contains a sandbox bypass vulnerability that allows authenticated administrative attackers to execute arbitrary methods on PHP objects by exploiting empty checkMethodAllowed() and checkPropertyAllowed() implementations in the custom Twig SecurityPolicy. Attackers can supply malicious Twig templates through the DataObject ClassDefinition Layout\Text component to perform arbitrary file reads, execute arbitrary database queries, and potentially achieve remote code execution via PHP object gadget chains, with the pimcore function wildcard further broadening the bypass to all Pimcore Twig functions.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
pimcore/pimcore-cmsto a version that resolves this vulnerability.Fixed in 12.3.8 - Compensating control
Restrict administrative access so only trusted users can access Pimcore CMS/DXP administration, since the vulnerability affects authenticated administrative attackers.
Event History
Frequently Asked Questions
What is the severity of CVE-2026-11407?
CVE-2026-11407 has a high severity rating of 7.2.
How do I fix CVE-2026-11407?
To fix CVE-2026-11407, upgrade Pimcore CMS/DXP to the latest version that addresses this vulnerability.
What is the impact of CVE-2026-11407?
CVE-2026-11407 allows authenticated administrative attackers to execute arbitrary methods on PHP objects due to a sandbox bypass.
Is CVE-2026-11407 exploitable without authentication?
No, CVE-2026-11407 requires authentication to exploit.
What versions of Pimcore are affected by CVE-2026-11407?
CVE-2026-11407 specifically affects Pimcore CMS/DXP version 12.3.8.