A AegiFlow
HIGHCVSS 8.6EPSS 0.6%

CVE-2026-11407

Pimcore CMS Twig Sandbox Bypass via SecurityPolicy checkMethodAllowed

Published
2026-06-17
Modified
2026-09-02
EPSS percentile
48%
Aliases
GHSA-7p36-fq2r-4h7r
Sources
github-advisory

Summary

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 packages

EcosystemPackageAffected versionsFixed versions
Packagistpimcore/pimcore

Remediation: No patched version is listed by GitHub.

References

Includes data from the GitHub Advisory Database, licensed under CC-BY 4.0.

CVE® is a registered trademark of The MITRE Corporation. CVE content reproduced under the CVE Terms of Use; copyright designation © MITRE.

EPSS scores provided by the FIRST.org Exploit Prediction Scoring System.