Pimcore CMS/DXP CVE-2026-11407
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate to Pimcore admin UI
-
DeliveryEdit DataObject ClassDefinition Layout\Text
-
ExploitInject malicious Twig template
-
InstallBypass empty SecurityPolicy checks
-
C2Traverse DAO/DBAL/PDO objects
-
ExecuteRead files or run SQL
-
ImpactAchieve RCE via PHP gadget chain
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V1 - Encoding and Sanitization Template injection prevention
|
| Exploitation Conditions | Attacker must hold an authenticated administrative Pimcore account with permission to create or modify a DataObject ClassDefinition and inject Twig markup into a Layout\Text component; the target instance must be running a vulnerable Pimcore CMS/DXP build (12.3.8 confirmed) where the custom Twig SecurityPolicy still has empty checkMethodAllowed() and checkPropertyAllowed() implementations. No end-user interaction is required (UI:N), the admin UI must be network-reachable to the attacker, and full RCE depends on a usable PHP object gadget being present in the loaded class graph - file read and arbitrary SQL execution work without a gadget chain. Limiting factors: PR:H means non-admin users, read-only admins without ClassDefinition rights, and deployments that restrict admin UI access to VPN/internal networks substantially reduce exposure. |
| Impact | The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H) at 8.6 reflects that exploitation is network-reachable and low-complexity but requires high privileges - specifically an authenticated administrative user able to edit DataObject ClassDefinitions, which is consistent with the description. There is no KEV listing, no EPSS score provided, and no public exploit identified at time of analysis, so this is currently a publicly disclosed sandbox bypass with vendor patch rather than an actively exploited bug. Real-world risk is concentrated in environments where the administrative role is shared, delegated to lower-trust content editors, or reachable through a separate admin-takeover bug; in such cases the impact is severe (DB read/write, file read, potential RCE via gadget chains). The high PR requirement materially limits opportunistic mass exploitation, so prioritization should be high for multi-tenant or content-editor-heavy Pimcore deployments and moderate for tightly controlled single-admin installs. EPSS and KEV data are absent from the input and cannot be cross-checked here. |
| Exploit ScenarioDerived | An authenticated Pimcore administrator (or an attacker who has hijacked an admin session) edits a DataObject ClassDefinition and injects a malicious Twig snippet into a Layout\Text component that traverses an object graph into \Pimcore\Model\Dao\AbstractDao or Doctrine\DBAL\Connection to run arbitrary SQL, read arbitrary files, or pivot through Symfony\Component\Process\Process / a PHP object gadget chain to achieve RCE on the web server. No public exploit identified at time of analysis, but the VulnCheck advisory describes the bypass primitive in enough detail that PoC development by a competent attacker is straightforward. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 17, 2026
Twig sandbox bypass in Pimcore CMS/DXP 12.3.8 lets authenticated administrators escape the template sandbox by abusing empty checkMethodAllowed() and checkPropertyAllowed() implementations, enabling arbitrary method calls on internal PHP objects such as the DAO layer, Doctrine DBAL Connection, and PDO. Exploitation goes through a malicious Twig template injected via the DataObject ClassDefinition Layout\Text component and can lead to arbitrary file reads, arbitrary SQL execution, and potential remote code execution via PHP object gadget chains; the pimcore_* function wildcard broadens the bypass to every Pimcore Twig function. No public exploit identified at time of analysis, but VulnCheck has published an advisory describing the technique.
RemediationAI
Patch available per vendor advisory: upgrade Pimcore CMS/DXP to the release containing pimcore/pimcore PR #19193 / commit fffa7f6396329e88610db70a8652529bbc734892, which implements a BLOCKED_CLASSES deny-list (Pimcore AbstractDao, Doctrine DBAL Connection, PDO, PDOStatement, Symfony ContainerInterface, Symfony Process) inside checkMethodAllowed() and checkPropertyAllowed(); a released patched version number is not stated in the input, so confirm the exact tagged release via the VulnCheck advisory (https://www.vulncheck.com/advisories/pimcore-cms-twig-sandbox-bypass-via-securitypolicy-checkmethodallowed) and the GitHub PR. Until the upgrade is applied, tighten access to the Pimcore admin UI and revoke ClassDefinition edit permissions from any role that does not require them - especially the ability to modify Layout\Text components on DataObject classes - since this is the documented injection sink, accepting that content modelers will lose self-service schema changes. As an interim hardening measure, backport the BLOCKED_CLASSES logic from the upstream commit into the custom SecurityPolicy, and consider network-restricting the /admin interface to VPN or trusted IPs to reduce exposure if an admin account is later compromised; note this will also block legitimate remote administration.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in composer
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Pimcore is a PHP-based open-source CMS/DXP that uses Twig as its templating engine and relies on Twig's Sandbox extension to constrain templates rendered from user-controlled sources, including DataObject ClassDefinition fields like Layout\Text. Pimcore subclassed Twig's SecurityPolicy but left checkMethodAllowed() and checkPropertyAllowed() as empty no-op methods, which corresponds to CWE-1336 (Improper Neutralization of Special Elements Used in a Template Engine). Because no method-call or property-access filtering took place, any PHP object reachable from a Twig context - including \Pimcore\Model\Dao\AbstractDao, Doctrine\DBAL\Connection, PDO, PDOStatement, the Symfony DI ContainerInterface, and Symfony\Component\Process\Process - could be traversed, as confirmed by the upstream fix in commit fffa7f6 (PR #19193) that adds these classes to a BLOCKED_CLASSES list. Additionally, the policy's pimcore_* function wildcard implicitly allow-lists every Pimcore Twig function, expanding the attack surface beyond the explicit allow list. Affected CPE is cpe:2.3:a:pimcore_gmbh:pimcore_cms/dxp:*.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Admin-only Twig injection over the network with no user interaction; full read/write/RCE potential on the same Pimcore instance justifies PR:H, AC:L, and C/I/A:H with scope unchanged.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Executive ViewAI
Pimcore CMS/DXP 12.3.8 contains a Twig template sandbox bypass vulnerability that enables arbitrary SQL execution, sensitive file reads, and potential remote code execution through malicious template injection in DataObject configurations. This vulnerability threatens data confidentiality and system integrity, requiring immediate patching to prevent unauthorized data access and system compromise.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Affected Products (CPE)CVE.org
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
GHSA-7p36-fq2r-4h7r
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB