CVE-2026-45162

CVE-2026-45162 is a high-severity insecure deserialization vulnerability in pimcore/pimcore (composer), affecting versions >= 12.0.0-RC1, <= 12.3.6. It is fixed in 12.3.7, 11.5.17, 2026.1.3.

Does this CVE actually affect you?

Kodem shows which CVEs are reachable and running in your applications, so you fix what's exploitable, not just what's listed.

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Runtime intelligence, not another scanner.

Summary

Pimcore has Unsafe PHP Deserialization in Multiple Locations Without allowed_classes Restriction

GitHub Security Advisory Draft, GM-374

Multiple locations in Pimcore v11 call PHP's unserialize() on data from database columns and filesystem files without the allowed_classes restriction, enabling object injection if an attacker can control the serialized data source.

Severity

CVSS 3.1: 8.0 (High), AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H

Affected Component

  • Package: pimcore/pimcore and pimcore/admin-ui-classic-bundle
  • Files:
    • lib/Tool/Authentication.php (line 82), session token deserialization
    • models/Site/Dao.php (line 68), site domains from database
    • models/DataObject/ClassDefinition/CustomLayout/Dao.php (line 69), layout definitions from database
    • models/Tool/TmpStore/Dao.php (line 64), temporary store data from database
    • models/Asset/WebDAV/Service.php (line 36), delete log from filesystem
    • admin-ui-classic-bundle/src/Helper/Dashboard.php (line 64), dashboard config from filesystem

Description

Six locations in Pimcore core call unserialize() directly (bypassing Tool\Serialize) on data sourced from database columns or filesystem files without passing the allowed_classes parameter. This means any class available in the autoloader will be instantiated during deserialization.

If an attacker can write to the data source (e.g., via SQL injection targeting the tmp_store, sites, or custom_layouts tables, or via a file write vulnerability targeting the WebDAV delete log), they can inject serialized PHP gadget chains that execute arbitrary code when the data is deserialized.

This is related to but distinct from the Tool\Serialize::unserialize() issue, these calls bypass the wrapper entirely.

Proof of Concept

  1. Identify a writable data source (e.g., tmp_store table via SQL injection, or webdav-delete.dat via file write)
  2. Write a serialized PHP gadget chain (e.g., Monolog BufferHandler chain from phpggc)
  3. Trigger the deserialization (e.g., access a page that reads TmpStore, or trigger a WebDAV operation)
  4. The gadget chain executes with web server privileges

References

  • CWE-502: Deserialization of Untrusted Data
  • OWASP Deserialization Cheat Sheet
  • phpggc: PHP Generic Gadget Chains

Impact

PHP object injection leading to Remote Code Execution when chained with a data source write vulnerability. Pimcore's dependency tree (Guzzle, Symfony, Monolog, Doctrine) provides numerous known gadget chains.

Untrusted serialized data is processed by a deserializer that can instantiate arbitrary objects or execute code as a side effect. Typical impact: arbitrary code execution or logic abuse.

CVE-2026-45162 has a CVSS score of 8.0 (High). The vector is network-reachable, high privileges required, and no user interaction. A CVSS score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether this affects your application depends on whether the vulnerable code is present and reachable in your environment. A fixed version is available (12.3.7, 11.5.17, 2026.1.3); upgrading removes the vulnerable code path.

Affected versions

pimcore/pimcore (>= 12.0.0-RC1, <= 12.3.6) pimcore/pimcore (<= 11.5.16) pimcore/pimcore (>= 2026.1.0, < 2026.1.3)

Security releases

pimcore/pimcore → 12.3.7 (composer) pimcore/pimcore → 11.5.17 (composer) pimcore/pimcore → 2026.1.3 (composer)

Kodem intelligence

Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.

Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.

Already deployed Kodem?

See it in your environmentNew to Kodem? Get a demo →

Remediation advice

Add allowed_classes parameter to all unserialize() calls. Where no objects are needed, use ['allowed_classes' => false]. Consider migrating to JSON serialization for data that doesn't require object preservation.

// Example fix for Site/Dao.php:
$siteDomains = unserialize($site['domains'], ['allowed_classes' => false]);

// Example fix for TmpStore/Dao.php:
$item['data'] = unserialize($item['data'], ['allowed_classes' => false]);

Frequently Asked Questions

  1. What is CVE-2026-45162? CVE-2026-45162 is a high-severity insecure deserialization vulnerability in pimcore/pimcore (composer), affecting versions >= 12.0.0-RC1, <= 12.3.6. It is fixed in 12.3.7, 11.5.17, 2026.1.3. Untrusted serialized data is processed by a deserializer that can instantiate arbitrary objects or execute code as a side effect.
  2. How severe is CVE-2026-45162? CVE-2026-45162 has a CVSS score of 8.0 (High). This score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether it represents real risk in your environment depends on whether the vulnerable code is present and reachable.
  3. Which versions of pimcore/pimcore are affected by CVE-2026-45162? pimcore/pimcore (composer) versions >= 12.0.0-RC1, <= 12.3.6 is affected.
  4. Is there a fix for CVE-2026-45162? Yes. CVE-2026-45162 is fixed in 12.3.7, 11.5.17, 2026.1.3. Upgrade to this version or later.
  5. Is CVE-2026-45162 exploitable, and should I be worried? Whether CVE-2026-45162 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
  6. What actually determines whether CVE-2026-45162 is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
  7. How do I fix CVE-2026-45162?
    • Upgrade pimcore/pimcore to 12.3.7 or later
    • Upgrade pimcore/pimcore to 11.5.17 or later
    • Upgrade pimcore/pimcore to 2026.1.3 or later

Other vulnerabilities in pimcore/pimcore

Stop the waste.
Protect your environment with Kodem.