CVE-2026-11407 Pimcore CMS 12.3.8 Twig Sandbox Bypass via SecurityPolicy checkMethodAllowed

High 8.6 Published Updated

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.

PackageAffectedFixed in
pimcore/pimcore PackagistAll versions to 11.5.14.1None
pimcore/pimcore PackagistAll versions to 11.5.14.1None
pimcore/pimcore PackagistFrom 12.0.0-RC1 to 12.3.8None
pimcore/pimcore PackagistFrom 12.0.0-RC1 to 12.3.8None

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.

Is CVE-2026-11407 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free