8.6high
Pimcore CMS 12.3.8 Twig Sandbox Bypass via SecurityPolicy checkMethodAllowed
- Severity
- 8.6high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.62% (higher than 51% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
- Also known as
- GHSA-7p36-fq2r-4h7r
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Pimcore GmbH Pimcore CMS/DXP | up to 12.3.8 Not affected: fffa7f6396329e88610db70a8652529bbc734892 | CVE List |
| pimcore/pimcore (Packagist) | from 12.0.0-RC1 up to 12.3.8, up to 11.5.14.1 | GitHub Advisory Database |
All scores
| VulnCheck | 8.6high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| VulnCheck | 7.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 7.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
Pimcore CMS/DXP versión 12.3.8 contiene una vulnerabilidad de bypass de sandbox que permite a atacantes administrativos autenticados ejecutar métodos arbitrarios en objetos PHP explotando implementaciones vacías de checkMethodAllowed() y checkPropertyAllowed() en la SecurityPolicy personalizada de Twig. Los atacantes pueden suministrar plantillas Twig maliciosas a través del componente DataObject ClassDefinition Layout\Text para realizar lecturas de archivos arbitrarias, ejecutar consultas de base de datos arbitrarias y potencialmente lograr ejecución remota de código a través de cadenas de gadgets de objetos PHP, con el comodín de función pimcore_* ampliando aún más el bypass a todas las funciones Twig de Pimcore.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-11407 changed 2026-11-08 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-7p36-fq2r-4h7r changed 2026-09-02 | CC-BY-4.0 |
| NVD | CVE-2026-11407 changed 2026-10-26 | Public domain |