CVE-2026-11407: Pimcore/pimcore Pimcore CMS Twig Sandbox Bypass Vulnerability
HIGHCVE-2026-11407 is a HIGH (CVSS 7.2) pimcore cms twig sandbox bypass vulnerability (CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine) affecting Pimcore/pimcore libraries in the Packagist ecosystem. The issue involves pimcore cms twig sandbox bypass via securitypolicy checkmethodallowed. Remediation is available in the latest vendor maintenance releases.
CVE-2026-11407 at a Glance
Security Impact
CVSS: 7.2
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2026-11407
To remediate this vulnerability, upgrade all affected Pimcore/pimcore dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade pimcore/pimcore to Latest secure release
Upgrade pimcore/pimcore to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for pimcore/pimcore
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-11407, inspect your project dependencies for Pimcore/pimcore:
inspect dependencies for pimcore/pimcore
Analyze the terminal output to locate any version of Pimcore/pimcore in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine, where the product uses a template engine to insert or process externally-influenced input, but it does not neutralize or incorrectly neutralizes special elements or syntax that can be interpreted as template expressions or other code directives when processed by the engine. In Pimcore/pimcore, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-11407 Affected Pimcore/pimcore Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
pimcore/pimcore
|
Packagist |
≥ 12.0.0-RC1
≤ 12.3.8
|
|
|
pimcore/pimcore
|
Packagist |
≤ 11.5.14.1
|
|
References
Frequently Asked Questions
What is CVE-2026-11407?
Which Pimcore/pimcore versions are affected?
What version fixes CVE-2026-11407?
Is pimcore/pimcore affected?
What is the CVSS score of CVE-2026-11407?
What CWE is associated with CVE-2026-11407?
How can I check Packagist dependencies for CVE-2026-11407?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-7p36-fq2r-4h7r",
"modified" : "2026-09-02T16:05:13Z",
"published" : "2026-06-17T21:34:38Z",
"aliases" : [ "CVE-2026-11407" ],
"summary" : "Pimcore CMS Twig Sandbox Bypass via SecurityPolicy checkMethodAllowed",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
}, {
"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" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "pimcore/pimcore"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "12.0.0-RC1"
}, {
"last_affected" : "12.3.8"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "pimcore/pimcore"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "11.5.14.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-11407"
}, {
"type" : "WEB",
"url" : "https://github.com/pimcore/pimcore/pull/19193"
}, {
"type" : "WEB",
"url" : "https://github.com/pimcore/pimcore/commit/fffa7f6396329e88610db70a8652529bbc734892"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/pimcore/pimcore"
}, {
"type" : "WEB",
"url" : "https://www.vulncheck.com/advisories/pimcore-cms-twig-sandbox-bypass-via-securitypolicy-checkmethodallowed"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1336" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-06-19T14:48:25Z",
"nvd_published_at" : "2026-06-17T20:16:48Z"
}
}