# Pimcore Hotspotimage getDataFromResource() unrestricted Serialize::unserialize over object-store column (PHP Object Injection, CWE-502)

Critical severity, published 2026-08-28. Update pimcore/pimcore to the fixed version of your branch (2026.1.6, 12.3.10): composer update pimcore/pimcore.

Canonical URL: https://buzzphp.com/security/ghsa-w23p-wrp7-ch38 · Data from GitHub as of 2026-11-25.

| | |
| --- | --- |
| Severity | critical |
| Published | 2026-08-28 |
| Updated | 2026-08-28 |
| CVE | [CVE-2026-55220](https://nvd.nist.gov/vuln/detail/CVE-2026-55220) |
| GHSA | [GHSA-w23p-wrp7-ch38](https://github.com/advisories/GHSA-w23p-wrp7-ch38) |
| Weakness | CWE-502 |

| Package | Affected versions | Fixed in |
| --- | --- | --- |
| pimcore/pimcore | >= 2026.1.0, <= 2026.1.5 or <= 12.3.9 | 2026.1.6, 12.3.10 |

## What to do

Update pimcore/pimcore to the fixed version of your branch (2026.1.6, 12.3.10): composer update pimcore/pimcore.

Check which version you run with `composer show pimcore/pimcore`, and every affected package with `composer audit`.

## About this advisory

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.

## Links

- [GHSA-w23p-wrp7-ch38 on GitHub](https://github.com/advisories/GHSA-w23p-wrp7-ch38)
- [CVE-2026-55220 on the National Vulnerability Database](https://nvd.nist.gov/vuln/detail/CVE-2026-55220)
- [All Composer security advisories](https://buzzphp.com/security)
