CVE-2026-55220

Pimcore Hotspotimage getDataFromResource() unrestricted Serialize::unserialize over object-store column

Published Aug 28, 2026 CVSS 4.0 · 9.3 Critical EPSS < 1% KEV · Not listed
Description
Pimcore is an Open Source Data & Experience Management Platform. Prior to 11.5.19, 12.3.10, and 2026.1.6, Pimcore\Model\DataObject\ClassDefinition\Data\Hotspotimage::getDataFromResource() in models/DataObject/ClassDefinition/Data/Hotspotimage.php passes the field __hotspots object-store column to Pimcore\Tool\Serialize::unserialize() without an allowed-classes restriction after JSON decoding fails. An attacker with a separate capability to write crafted PHP serialized bytes into that column can instantiate available classes and trigger magic methods when an affected DataObject is loaded, which can produce arbitrary file writes or code execution through bundled gadget chains. The related ImageGallery, Block, and Video callers use the same fallback pattern, but the identified June fix changes the Hotspotimage caller only. This issue is fixed for Hotspotimage in versions 11.5.19, 12.3.10, and 2026.1.6.

Analysis

AI-generated

Technical impact

Pimcore’s Hotspotimage data importer calls a generic unserialization routine without restricting which classes can be instantiated. An attacker who can inject crafted PHP serialized bytes into the __hotspots object‑store column can trigger PHP magic methods through gadget chains, leading to arbitrary file writes or execution of arbitrary code. This flaw directly enables remote code execution if an attacker can write to that column, as the vulnerability is not mitigated by validation or permissions at the application layer.

Affected Systems

The vulnerability exists in Pimcore’s open‑source Data & Experience Management Platform prior to version 11.5.19, 12.3.10, and 2026.1.6. All earlier releases of the Pimcore platform that use the affected Hotspotimage class are impacted, including earlier Major releases that do not contain the fix. The issue is addressed by the Hotspotimage caller in the fixed releases listed above.

Risk and Exploitability

The CVSS score of 9.3 indicates a high severity attack. The EPSS score is not available, and the vulnerability is not listed in CISA’s KEV catalog, suggesting no confirmed public exploits yet. However, the flaw requires the ability to write arbitrary serialized data into the database column, a capability typically reserved for users with curative or system access. If such access is gained, the attacker can trigger gadget chains and achieve code execution. The risk is therefore high for installations that expose write access to the __hotspots column or run under privileged database users, and moderate otherwise.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Pimcore 11.5.19, 12.3.10, or 2026.1.6 where the Hotspotimage caller has been hardened against unrestricted unserialization.
  • Restrict database write privileges on the __hotspots object‑store column and enforce access controls to limit who can inject serialized data.
  • If upgrading is not immediately possible, remove or sanitize any untrusted input that populates the Hotspotimage field and consider disabling or limiting PHP’s serialization functionality for that column.

Generated by OpenCVE AI on August 28, 2026 at 20:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-w23p-wrp7-ch38 Pimcore Hotspotimage getDataFromResource() unrestricted Serialize::unserialize over object-store column (PHP Object Injection, CWE-502)
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Pimcore
Pimcore pimcore
Vendors & Products Pimcore
Pimcore pimcore
Type Values Removed Values Added
Description Pimcore is an Open Source Data & Experience Management Platform. Prior to 11.5.19, 12.3.10, and 2026.1.6, Pimcore\Model\DataObject\ClassDefinition\Data\Hotspotimage::getDataFromResource() in models/DataObject/ClassDefinition/Data/Hotspotimage.php passes the field __hotspots object-store column to Pimcore\Tool\Serialize::unserialize() without an allowed-classes restriction after JSON decoding fails. An attacker with a separate capability to write crafted PHP serialized bytes into that column can instantiate available classes and trigger magic methods when an affected DataObject is loaded, which can produce arbitrary file writes or code execution through bundled gadget chains. The related ImageGallery, Block, and Video callers use the same fallback pattern, but the identified June fix changes the Hotspotimage caller only. This issue is fixed for Hotspotimage in versions 11.5.19, 12.3.10, and 2026.1.6.
Title Pimcore Hotspotimage getDataFromResource() unrestricted Serialize::unserialize over object-store column
Weaknesses CWE-502
References
Metrics cvssV4_0

{'score': 9.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-502

    Deserialization of Untrusted Data

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 31, 2026, 6:53 PM
Reserved
Jun 16, 2026, 4:16 PM
Status
Deferred
Published
Aug 28, 2026, 8:18 PM
Modified
Sep 9, 2026, 9:09 PM