Description
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.
Published: 2026-06-17
Score: 8.6 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability arises from empty implementations of checkMethodAllowed() and checkPropertyAllowed() in the custom Twig SecurityPolicy of Pimcore CMS/DXP version 12.3.8. Authenticated administrators can inject malicious Twig templates through the DataObject ClassDefinition Layout\Text component. This bypass permits execution of arbitrary PHP object methods, enabling actions such as arbitrary file reads, arbitrary database queries, and potentially remote code execution via PHP object gadget chains. The loophole also extends to all Pimcore Twig functions through the pimcore_* function wildcard.

Affected Systems

The affected product is Pimcore CMS/DXP version 12.3.8, released by Pimcore GmbH. No other versions are noted as vulnerable. Deployments running this version where admins can create or edit DataObject ClassDefinitions are at risk.

Risk and Exploitability

The CVSS score of 8.6 denotes high severity, yet the EPSS score is below 1%, indicating a low probability of exploitation at the time of disclosure. The vulnerability is not listed in the CISA KEV catalogue. Successful exploitation requires authenticated administrative privileges and the ability to submit a Twig template through the web interface. Consequently, the risk remains significant for organizations that cannot apply the fix promptly.

Generated by OpenCVE AI on June 18, 2026 at 17:59 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the patch from commit fffa7f6396329e88610db70a8652529bbc734892 or upgrade to a version that incorporates the fix.
  • If upgrading immediately is not feasible, restrict administrative access to the DataObject ClassDefinition Layout\Text component so that only trusted users can supply Twig templates.
  • Employ web application monitoring to detect suspicious or unexpected Twig template uploads and block them until remediation completes.

Generated by OpenCVE AI on June 18, 2026 at 17:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 18 Jun 2026 16:45:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 18 Jun 2026 04:45:00 +0000

Type Values Removed Values Added
Description 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 Pimcore CMS 12.3.8 Twig Sandbox Bypass via SecurityPolicy checkMethodAllowed
Weaknesses CWE-1336
References
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.6, 'vector': '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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-06-18T12:55:54.456Z

Reserved: 2026-06-05T18:28:04.219Z

Link: CVE-2026-11407

cve-icon Vulnrichment

Updated: 2026-06-18T12:55:50.015Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-18T18:00:11Z

Weaknesses
  • CWE-1336

    Improper Neutralization of Special Elements Used in a Template Engine