{"document":{"category":"csaf_vex","csaf_version":"2.0","title":"CVE-2026-11407: Pimcore CMS 12.3.8 Twig Sandbox Bypass via SecurityPolicy checkMethodAllowed","publisher":{"category":"vendor","name":"HarborGuard Database","namespace":"https://database.harborguard.co"},"tracking":{"id":"CVE-2026-11407","status":"final","version":"1","initial_release_date":"2026-06-17T20:07:50.407Z","current_release_date":"2026-06-17T20:07:50.407Z","revision_history":[{"date":"2026-06-17T20:07:50.407Z","number":"1","summary":"Initial machine-readable export from HarborGuard."}]},"distribution":{"tlp":{"label":"WHITE"},"text":"Public CVE data; freely redistributable."},"notes":[{"category":"description","text":"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.","title":"CVE description"}],"references":[{"category":"self","summary":"CVE-2026-11407 on HarborGuard Database","url":"https://database.harborguard.co/cve/CVE-2026-11407"},{"category":"external","summary":"CVE Record","url":"https://www.cve.org/CVERecord?id=CVE-2026-11407"},{"category":"external","summary":"github.com","url":"https://github.com/pimcore/pimcore/pull/19193"},{"category":"external","summary":"github.com","url":"https://github.com/pimcore/pimcore/commit/fffa7f6396329e88610db70a8652529bbc734892"},{"category":"external","summary":"vulncheck.com","url":"https://www.vulncheck.com/advisories/pimcore-cms-twig-sandbox-bypass-via-securitypolicy-checkmethodallowed"}]},"product_tree":{"branches":[{"category":"vendor","name":"Pimcore GmbH","branches":[{"category":"product_name","name":"Pimcore CMS/DXP","branches":[{"category":"product_version_range","name":"<=12.3.8","product":{"name":"Pimcore GmbH Pimcore CMS/DXP <=12.3.8","product_id":"CSAFPID-1","product_identification_helper":{"cpe":"cpe:2.3:a:pimcore_gmbh:pimcore_cms\\/dxp:*:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"fffa7f6396329e88610db70a8652529bbc734892","product":{"name":"Pimcore GmbH Pimcore CMS/DXP fffa7f6396329e88610db70a8652529bbc734892","product_id":"CSAFPID-2","product_identification_helper":{"cpe":"cpe:2.3:a:pimcore_gmbh:pimcore_cms\\/dxp:*:*:*:*:*:*:*:*"}}}]}]}]},"vulnerabilities":[{"cve":"CVE-2026-11407","title":"Pimcore CMS 12.3.8 Twig Sandbox Bypass via SecurityPolicy checkMethodAllowed","notes":[{"category":"description","text":"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.","title":"CVE description"}],"product_status":{"known_affected":["CSAFPID-1"],"fixed":["CSAFPID-2"]},"scores":[{"cvss_v4":{"version":"4.0","vectorString":"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","baseScore":8.6,"baseSeverity":"HIGH"},"products":["CSAFPID-1"]}],"remediations":[{"category":"vendor_fix","details":"Update to a fixed version: fffa7f6396329e88610db70a8652529bbc734892.","product_ids":["CSAFPID-1"],"url":"https://github.com/pimcore/pimcore/commit/fffa7f6396329e88610db70a8652529bbc734892"}]}]}