Pimcore Hotspotimage getDataFromResource() unrestricted Serialize::unserialize over object-store column (PHP Object Injection, CWE-502)
Critical severity. Published 28 August 2026. Update pimcore/pimcore to the fixed version of your branch (2026.1.6, 12.3.10): composer update pimcore/pimcore.
Which versions are affected?
| Package | Affected versions | Fixed in |
|---|---|---|
| pimcore/pimcore (opens in a new tab) | >= 2026.1.0, <= 2026.1.5 | <= 12.3.9 | 2026.1.6, 12.3.10 |
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 auditAdvisory details
| Severity | Critical |
|---|---|
| Published | |
| Updated | |
| CVE | CVE-2026-55220 (opens in a new tab) |
| GHSA | GHSA-w23p-wrp7-ch38 (opens in a new tab) |
| Weakness | CWE-502 |
What the advisory says
Summary
Pimcore\Model\DataObject\ClassDefinition\Data\Hotspotimage::getDataFromResource() deserializes the hotspots object-store column through the Pimcore\Tool\Serialize::unserialize() wrapper without a class allowlist (the wrapper's $allowedClasses parameter defaults to true, i.e. fully unrestricted). Because the persistence layer always stores this column as PHP-serialize()d bytes, every load of a DataObject that has a Hotspotimage (advanced image) field runs an unrestricted unserialize() over the stored column value.
Source: GHSA-w23p-wrp7-ch38 (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
- Pimcore: SQL Injection in Custom Reports via Malicious Report Configuration (high, 10 September 2026)
- Pimcore Vulnerable to Remote Code Execution via DataObject Class-Definition Field Name (critical, 28 August 2026)
- Pimcore: ClassDefinition UID regex missing end anchor allows SQL injection via Block.php unquoted table name (high, 13 August 2026)