Advisory

GHSA-7p36-fq2r-4h7r

Also known as: 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

High Basis: The source's own band: HIGH

Dates

Published
2026-06-17 21:34 UTC
Modified
2026-09-02 16:15 UTC

Affected packages and fixes

pimcore/pimcore

Packagist · All systems

Affected

  • introduced 12.0.0-RC1, last affected 12.3.8 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

pimcore/pimcore

Packagist · All systems

Affected

  • introduced 0, last affected 11.5.14.1 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences