Skip to main content

Pimcore EUVDEUVD-2026-45259

| CVE-2026-45162 HIGH
Deserialization of Untrusted Data (CWE-502)
2026-05-27 https://github.com/pimcore/pimcore GHSA-36fc-7wjg-mfvj
8.0
CVSS 3.1 · Vendor: https://github.com/pimcore/pimcore
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain write access to a deserialized source (SQLi or file write)
  2. Delivery
    Plant phpggc PHP gadget chain in tmp_store/WebDAV delete log
  3. Exploit
    Trigger read path calling raw unserialize()
  4. Execution
    unserialize() instantiates gadget objects without allowed_classes
  5. Persist
    Gadget chain reaches code-execution sink
  6. Impact
    Execute arbitrary code as web-server user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation is not possible against this sink alone - the attacker must already be able to write attacker-controlled bytes into one of the deserialized sources: the sites.domains, custom_layouts.layoutDefinitions, or tmp_store.data database columns (e.g., via a SQL injection in another component), or the on-disk WebDAV delete-log file (webdav-delete.dat) or dashboard config file (via a file-write flaw). Once the source is poisoned, the attacker must then cause the corresponding read path to execute (loading a TmpStore entry, resolving a site by domain, reading a custom layout, or performing a WebDAV move/delete) so that unserialize() runs. Limiting factors that reduce realistic risk: the CVSS vector specifies PR:H (high privileges required) and AC:H (high complexity), the attack depends on a pre-existing write vulnerability that is out of scope of this CVE, and successful RCE further depends on a viable PHP gadget chain being present in the installed dependency set (Guzzle/Symfony/Monolog/Doctrine versions). No user interaction is required (UI:N), and the impact runs at web-server privilege. Affected versions are <= 12.3.6 (with possible 11.x exposure to verify).

Impact

Signals are mixed and should not be read as a top-tier emergency despite the 8.0 base score. The CVSS vector CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H combines network reach, no user interaction, and full confidentiality/integrity/availability impact with a changed scope, but it is tempered by High attack complexity (AC:H) and High privileges required (PR:H). Critically, this vulnerability is not self-contained: it is a deserialization sink that only becomes exploitable when chained with a separate primitive that lets the attacker write to the underlying database table or file - so it functions as a second-stage amplifier of another flaw (e.g., a SQL injection or arbitrary file write) rather than a standalone entry point, which is consistent with the AC:H/PR:H rating. EPSS is not provided in the input, so exploitation probability cannot be quantified here. The CVE is not listed in CISA KEV, so there is no confirmed active exploitation. No weaponized exploit code is identified; the advisory contains only a conceptual proof-of-concept that assumes the attacker already controls the data source. Net assessment: a genuine and patch-worthy hardening issue (object injection to RCE is severe in impact), but real-world priority is moderate and conditional on the presence of a write primitive, not on this CVE alone. Note one data conflict: the advisory prose states 'Pimcore v11' while the structured package data lists vulnerable <= 12.3.6 fixed in 12.3.7 - verify the exact affected 11.x range with the vendor.

Exploit ScenarioDerived

An attacker who has already obtained a write primitive - for instance a SQL injection allowing an UPDATE to the tmp_store table, or a file-write into the WebDAV delete log - stores a serialized Monolog BufferHandler gadget chain generated with phpggc in that location. When a Pimcore request later reads and deserializes that value (e.g., a page that loads the TmpStore entry or a triggered WebDAV operation), unserialize() instantiates the gadget objects and the chain executes arbitrary code with web-server privileges. The CVSS AV:N/AC:H/PR:H profile matches this: it is network-reachable and needs no user interaction, but is high-complexity and high-privilege because it hinges on first achieving the separate write and on a usable gadget chain in the dependency tree.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 27, 2026

PHP object injection in Pimcore (packages pimcore/pimcore and admin-ui-classic-bundle) up to and including version 12.3.6 arises from six code paths calling unserialize() without the allowed_classes restriction on values read from database columns and filesystem files. An attacker who can already write to one of those sources - for example through SQL injection into the tmp_store, sites, or custom_layouts tables, or a file write to the WebDAV delete log - can plant a serialized PHP gadget chain that executes arbitrary code with web-server privileges once the data is deserialized. No public exploit identified at time of analysis (the vendor advisory documents only a conceptual PoC procedure), the CVE is not in CISA KEV, and EPSS is not provided; the issue is fixed in 12.3.7 and rated CVSS 8.0, with the High attack-complexity reflecting its dependence on a separate write primitive and a working gadget chain.

RemediationAI

Upgrade to Pimcore 12.3.7, which is the vendor-released patched version per the package data and release tag (https://github.com/pimcore/pimcore/releases/tag/v12.3.7); the underlying fix adds the allowed_classes parameter to every affected unserialize() call (allowed_classes => false where no objects are needed, or a narrow allowlist such as [Asset::class] for the WebDAV delete log) and is implemented in PR https://github.com/pimcore/pimcore/pull/19119 and commit https://github.com/pimcore/pimcore/commit/4788bf3a3a7f2f760a8fe61e522565941e154e1e. If you run 11.x and cannot immediately move to 12.3.7, confirm an equivalent backport with the vendor before relying on an in-place patch. Because exploitation requires the attacker to first control the serialized data source, the most effective compensating controls target that prerequisite: eliminate SQL injection paths into the sites, custom_layouts, and tmp_store tables (parameterized queries, least-privilege database accounts so the web user cannot arbitrarily UPDATE these tables) and protect the WebDAV delete log file and dashboard config from untrusted writes by tightening filesystem permissions and restricting WebDAV access to authenticated, trusted users - accepting that locking down WebDAV may disrupt asset-management workflows that depend on it. As a defense for the affected sink itself, you can manually apply the allowed_classes => false change at the six call sites listed in the advisory; the trade-off is that any legitimate object-typed data in those columns (notably the custom layout definitions, which the official fix rebuilds from an array rather than blanket-blocking) may fail to load, so prefer the official patch over an ad-hoc edit.

Affected VersionsENISA

pimcore < 11.5.17
pimcore 12.0.0, < 12.3.7

Affected Packages

composer pimcore/pimcore fix: 11.5.17, 12.3.7, 2026.1.3
euvd pimcore fix: 11.5.17, 12.3.7

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in composer, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-502 (Deserialization of Untrusted Data). PHP's unserialize() reconstructs arbitrary objects from a serialized string, and when called without the allowed_classes option it will instantiate any class reachable through the autoloader, invoking magic methods (__wakeup, __destruct, __toString) during reconstruction. Chained together, these calls form 'gadget chains' that can reach dangerous sinks. The affected product is the Composer package pkg:composer/pimcore_pimcore (and the admin-ui-classic-bundle), a PHP/Symfony-based content and data management platform. Six call sites bypass Pimcore's own Tool\Serialize wrapper and call raw unserialize() directly: lib/Tool/Authentication.php (session token), models/Site/Dao.php (site domains from DB), models/DataObject/ClassDefinition/CustomLayout/Dao.php (layout definitions from DB), models/Tool/TmpStore/Dao.php (temp store from DB), models/Asset/WebDAV/Service.php (delete log from disk), and admin-ui-classic-bundle/src/Helper/Dashboard.php (dashboard config from disk). Because Pimcore ships Guzzle, Symfony, Monolog, and Doctrine, multiple publicly documented gadget chains (e.g., the Monolog BufferHandler chain available in phpggc) are present in the dependency tree, turning object injection into remote code execution. The vendor fix adds an allowed_classes parameter to Tool\Serialize::unserialize() and passes false (or a narrow allowlist such as [Asset::class] for the WebDAV log) at each site.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/pimcore/pimcore) PRIMARY 8.0 HIGH
AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H

Primary rating from Vendor (https://github.com/pimcore/pimcore) · only source for this CVE.

CVSS VectorVendor: https://github.com/pimcore/pimcore

Attack Vector
Network
Attack Complexity
High
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

GM-374

Summary

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.

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.

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.

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

Suggested Fix

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.

php
// 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]);

Resources

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

Executive ViewAI

Why It Matters

Pimcore CMS versions up to 12.3.6 contain an arbitrary code execution vulnerability in deserialization routines that can be exploited by attackers who gain write access to the application database or filesystem. Successful exploitation allows arbitrary code execution with web-server privileges, enabling potential content manipulation, data theft, and lateral movement into connected infrastructure. Organizations running affected versions must upgrade immediately to prevent exploitation by database-level or file-access attackers.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 58% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

40
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy