BuzzPHP
LightDarkSystem

Pimcore: ClassDefinition UID regex missing end anchor allows SQL injection via Block.php unquoted table name

High severity. Published 13 August 2026. Update pimcore/pimcore to the fixed version of your branch (2026.1.5, 12.3.9): composer update pimcore/pimcore.

Which versions are affected?

PackageAffected versionsFixed in
pimcore/pimcore (opens in a new tab)>= 2026.1.0, <= 2026.1.4 | < 12.3.92026.1.5, 12.3.9

What should you do?

Update every affected package you use to its fixed version, then check that nothing else in your project matches an advisory. To see which version you run, and whether anything is still affected:

composer show pimcore/pimcore
composer audit

Advisory details

SeverityHighCVSS 8.5
Published
Updated
CVECVE-2026-55072 (opens in a new tab)
GHSAGHSA-2mhj-fhvg-v428 (opens in a new tab)
WeaknessCWE-20, CWE-89

What the advisory says

Summary A missing end anchor ($) in the ClassDefinition UID validation regex allows an authenticated user with the objects permission to create a class with a malicious UID containing SQL. When a data object of that class is later loaded, Block.php concatenates the raw classId directly into a SQL query without quoting, executing the injected payload. This is an incomplete fix from commit dbe1d131e4 which added a leading ^ anchor but omitted the trailing $.

Details 1. Missing end anchor in ClassDefinition UID validation

models/DataObject/ClassDefinition.php lines 1148-1154:

Both patterns are missing a trailing $ anchor.

Source: GHSA-2mhj-fhvg-v428 (opens in a new tab) in the GitHub Advisory Database (CC BY 4.0). Data from GitHub (opens in a new tab) as of .

Other recent advisories for this package

All Composer security advisories