Pimcore Hotspotimage getDataFromResource() unrestricted Serialize::unserialize over object-store column (PHP Object Injection, CWE-502) (CVE-2026-55220)
Description
Pimcore's Hotspotimage data deserialization function unserializes stored PHP serialized data without restricting allowed classes, enabling PHP Object Injection. An attacker able to write crafted serialized data into the object-store column can trigger arbitrary object instantiation and execution of magic methods, leading to remote code execution. This vulnerability affects multiple related data marshallers and is present in all currently maintained Pimcore versions up to 2026.1.5 and before 12.3.10. A proof-of-concept demonstrates exploitation via a gadget chain in Pimcore's bundled guzzlehttp/guzzle dependency. A patch is available to restrict allowed classes during unserialization.
CVSS v4.0
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability exists in Pimcore's `Hotspotimage::getDataFromResource()` method, which deserializes the `*__hotspots` object-store column using `Serialize::unserialize()` without a class allowlist, defaulting to unrestricted class instantiation. This allows an attacker who can write attacker-controlled serialized PHP objects into this column to achieve PHP Object Injection (CWE-502), leading to remote code execution via magic methods and gadget chains in bundled dependencies such as guzzlehttp/guzzle 7.11.0. The same pattern affects sibling marshallers `ImageGallery`, `Block`, and `Video`. The flaw is present in all maintained Pimcore versions including v2026.1.4 and v12.3.8. Exploitation requires the ability to write crafted serialized bytes into the relevant object-store column. A patch is available to restrict allowed classes during unserialization, mitigating the issue.
Potential Impact
Successful exploitation allows an attacker with write access to the `*__hotspots` object-store column to execute arbitrary PHP code remotely by injecting serialized objects that instantiate arbitrary classes and trigger their magic methods. This can lead to remote code execution on the server running Pimcore, leveraging gadget chains in Pimcore's bundled dependencies. The vulnerability is critical due to the direct path from attacker-controlled serialized data to code execution without authentication or user interaction.
Mitigation Recommendations
A patch is available that restricts the allowed classes during unserialization to prevent arbitrary object instantiation. Users should upgrade to a fixed Pimcore version that enforces a class allowlist in `Serialize::unserialize()`. Until patched, ensure that untrusted users cannot write to the `*__hotspots` object-store columns or related fields. Review and restrict database or storage write permissions to prevent injection of crafted serialized data. No generic mitigations override the need for patching.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-w23p-wrp7-ch38
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-55220"]
- Ecosystems
- ["Packagist"]
- Database Specific Severity
- CRITICAL
- Cvss Version
- 4.0
Threat ID: 6a92f82cacd9273b49e91b88
Added to database: 08/29/2026, 15:18:04 UTC
Last enriched: 09/08/2026, 01:23:27 UTC
Last updated: 10/13/2026, 18:48:21 UTC
Views: 108
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.