CVE-2026-11407: Pimcore CMS 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.
Published Jun 17, 2026 · Updated Sep 2, 2026
Affected packages
pimcore/pimcore
- Ecosystem
- Composer (PHP)
- Affected
- >= 12.0.0-RC1, <= 12.3.8
- Fixed in
- No patched version yet
- Check
composer show pimcore/pimcore
pimcore/pimcore
- Ecosystem
- Composer (PHP)
- Affected
- <= 11.5.14.1
- Fixed in
- No patched version yet
- Check
composer show pimcore/pimcore
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to astapc.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-11407
- https://github.com/pimcore/pimcore/pull/19193
- https://github.com/pimcore/pimcore/commit/fffa7f6396329e88610db70a8652529bbc734892
- https://www.vulncheck.com/advisories/pimcore-cms-twig-sandbox-bypass-via-securitypolicy-checkmethodallowed
- https://github.com/advisories/GHSA-7p36-fq2r-4h7r
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesCVE-2026-55416
Pimcore: SQL Injection in Custom Reports via Malicious Report Configuration
high8.8Sep 10, 2026CVE-2026-55220
Pimcore Hotspotimage getDataFromResource() unrestricted Serialize::unserialize over object-store column (PHP Object Injection, CWE-502)
critical9.3Aug 28, 2026CVE-2026-55634
Pimcore Vulnerable to Remote Code Execution via DataObject Class-Definition Field Name
critical9.9Aug 28, 2026CVE-2026-55072
Pimcore: ClassDefinition UID regex missing end anchor allows SQL injection via Block.php unquoted table name
high8.5Aug 13, 2026CVE-2026-5394
Pimcore Platform - SQL Injection in DataObject composite index handling during class definition import/save
high7.0May 28, 2026CVE-2026-44739
Pimcore Vulnerable to SQL Injection in Custom Reports Column Configuration
high8.7May 27, 2026
