CVE-2026-11407 Pimcore CMS 12.3.8 Twig Sandbox Bypass via SecurityPolicy checkMethodAllowed
Authenticated administrators can execute arbitrary code and read files via Twig sandbox bypass in Pimcore CMS.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-11407?
CVE-2026-11407 is a high-severity code injection vulnerability in Pimcore CMS/DXP, published on 17 Jun 2026. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
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.
Weakness: CWE-1336
Which versions are affected by CVE-2026-11407?
4 open source packages ship an affected version, including pimcore/pimcore.
| Package | Affected | Fixed in |
|---|---|---|
pimcore/pimcore Packagist | All versions to 11.5.14.1 | None |
pimcore/pimcore Packagist | All versions to 11.5.14.1 | None |
pimcore/pimcore Packagist | From 12.0.0-RC1 to 12.3.8 | None |
pimcore/pimcore Packagist | From 12.0.0-RC1 to 12.3.8 | None |
How do I fix CVE-2026-11407?
No fix has been published for CVE-2026-11407 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2026-11407 being exploited?
There is no known exploitation of CVE-2026-11407 in the wild and no public exploit code.
Sources
Also known as GHSA-7p36-fq2r-4h7r.