Pimcore CMS 12.3.8 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. 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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-11407
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 17:18 UTC · Revision 1
Source evidence
Pimcore CMS 12.3.8 Twig Sandbox Bypass via SecurityPolicy checkMethodAllowed
core-osv · Original sourcePublished 17 Jun 2026, 20:07 UTC
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.
osv:CVE-2026-11407
Complete source record
{
"id": "273f67a53af381175c8258949e14694a3a14158ce852ef9681ece1a379544d14",
"url": "https://osv.dev/vulnerability/CVE-2026-11407",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Pimcore CMS 12.3.8 Twig Sandbox Bypass via SecurityPolicy checkMethodAllowed",
"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.",
"evidence": "osv:CVE-2026-11407",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-11407",
"aliases": [
"CVE-2026-11407",
"GHSA-7p36-fq2r-4h7r"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/pimcore/pimcore",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "fffa7f6396329e88610db70a8652529bbc734892"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "12.3.8"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "fffa7f6396329e88610db70a8652529bbc734892"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v12.3.9",
"v12.3.8",
"v12.3.7",
"v12.3.5",
"v12.3.4",
"v12.3.3",
"v12.3.2",
"v12.3.1.1",
"v12.3.1",
"v12.3.0",
"v12.2.1",
"v12.2.0",
"v12.1.0",
"v12.0.0",
"v12.0.0-RC2",
"v12.0.0-RC1",
"v11.5.0-RC2",
"v11.5.0-RC1",
"v11.4.0",
"v11.4.0-RC1",
"v11.3.0",
"v11.3.0-RC2",
"v11.3.0-RC1",
"v11.2.1",
"v11.2.0",
"v11.1.0-RC1",
"v11.0.0",
"v11.0.0-RC2",
"v11.0.0-RC1",
"v11.0.0-BETA1",
"v11.0.0-ALPHA8",
"v11.0.0-ALPHA7",
"v11.0.0-ALPHA6",
"v11.0.0-ALPHA5",
"v11.0.0-ALPHA4",
"v11.0.0-ALPHA3",
"v11.0.0-ALPHA2",
"v11.0.0-ALPHA1",
"v10.5.0",
"v10.4.0",
"v10.3.0",
"v10.2.1",
"v10.2.0",
"v10.1.0",
"v10.0.0",
"v10.0.0-BETA4",
"v10.0.0-BETA3",
"v10.0.0-BETA2",
"v10.0.0-BETA1",
"v6.8.0",
"v6.7.0",
"v6.6.4",
"v6.6.3",
"v6.6.2",
"v6.6.1",
"v6.6.0",
"v6.5.3",
"v6.5.2",
"v6.5.1",
"v6.5.0",
"v6.4.2",
"v6.4.1",
"v6.4.0",
"v6.3.6",
"v6.3.5",
"v6.3.4",
"v6.3.3",
"v6.3.2",
"v6.3.1",
"v6.3.0",
"v6.2.3",
"v6.2.2",
"v6.2.1",
"v6.2.0",
"v6.1.2",
"v6.1.1",
"v6.1.0",
"v6.0.5",
"v6.0.4",
"v6.0.3",
"v6.0.2",
"v6.0.1",
"v6.0.0",
"v5.8.3",
"v5.8.2",
"v5.8.1",
"v5.8.0",
"v5.7.3",
"v5.7.2",
"v5.7.1",
"v5.7.0",
"v5.6.3",
"v5.5.4",
"v5.5.2",
"v5.5.1",
"v5.5.0",
"v5.4.4",
"v5.4.3",
"v5.4.2",
"v5.4.1",
"v5.4.0",
"v5.3.1",
"v5.3.0",
"v5.2.3",
"v5.2.0",
"v5.1.3",
"v5.1.2",
"v5.1.1",
"v5.1.0",
"v5.1.0-alpha",
"v5.0.4",
"v5.0.3",
"v5.0.2",
"v5.0.1",
"v5.0.0",
"v5.0.0-RC",
"4.4.3",
"4.4.2",
"4.4.1",
"4.4.0",
"4.3.1",
"4.2.0",
"4.1.3",
"4.1.2",
"4.1.1",
"4.1.0",
"4.0.1",
"4.0.0",
"3.1.1",
"3.1.0",
"3.0.6",
"3.0.5",
"3.0.4",
"3.0.3",
"3.0.2",
"3.0.1",
"3.0.0",
"2.3.0",
"2.2.2",
"2.2.1",
"2.2.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-11407.json"
}
}
],
"modified": "2026-10-28T02:30:21.358227341Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/11xxx/CVE-2026-11407.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-11407",
"https://www.vulncheck.com/advisories/pimcore-cms-twig-sandbox-bypass-via-securitypolicy-checkmethodallowed",
"https://github.com/pimcore/pimcore/pull/19193",
"https://github.com/pimcore/pimcore/commit/fffa7f6396329e88610db70a8652529bbc734892"
],
"provider_metadata": {
"cwe_ids": [
"CWE-1336"
],
"cna_assigner": "VulnCheck",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/11xxx/CVE-2026-11407.json"
}
},
"related_cves": [
{
"value": "CVE-2026-11407",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 487663,
"published_at": "2026-06-17T20:07:50.407+00:00"
}