Skip to main content

Pimcore CMS/DXP CVE-2026-11407

HIGH
Improper Neutralization of Special Elements Used in a Template Engine (CWE-1336)
2026-06-17 VulnCheck GHSA-7p36-fq2r-4h7r
8.6
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Authenticate to Pimcore admin UI
  2. Delivery
    Edit DataObject ClassDefinition Layout\Text
  3. Exploit
    Inject malicious Twig template
  4. Install
    Bypass empty SecurityPolicy checks
  5. C2
    Traverse DAO/DBAL/PDO objects
  6. Execute
    Read files or run SQL
  7. Impact
    Achieve 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

composer pimcore/pimcore no fix

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

Vendor (VulnCheck) PRIMARY 8.6 HIGH
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
vuln.today AI 7.2 HIGH

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.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.6%
Top 55% exploitable
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium
NVD CVE.org EPSS Vulnrichment GHSA CIRCL GitHub

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +43
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:a:pimcore_gmbh:pimcore_cms/dxp:*:*:*:*:*:*:*:*

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

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

CVE-2012-1823 CRITICAL POC
9.8 May 11

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

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

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

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

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

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy