Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. pimcore/pimcore
  4. ›
  5. CVE-2026-11407

CVE-2026-11407: Pimcore CMS Twig Sandbox Bypass via SecurityPolicy checkMethodAllowed

June 17, 2026 (updated June 19, 2026)

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.

References

  • github.com/advisories/GHSA-7p36-fq2r-4h7r
  • github.com/pimcore/pimcore/commit/fffa7f6396329e88610db70a8652529bbc734892
  • github.com/pimcore/pimcore/pull/19193
  • nvd.nist.gov/vuln/detail/CVE-2026-11407
  • www.vulncheck.com/advisories/pimcore-cms-twig-sandbox-bypass-via-securitypolicy-checkmethodallowed

Code Behaviors & Features

Detect and mitigate CVE-2026-11407 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 12.3.8

Solution

Unfortunately, there is no solution available yet.

Impact 7.2 HIGH

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine

Source file

packagist/pimcore/pimcore/CVE-2026-11407.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 11 Jul 2026 00:18:13 +0000.