Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain write access to a deserialized source (SQLi or file write)
-
DeliveryPlant phpggc PHP gadget chain in tmp_store/WebDAV delete log
-
ExploitTrigger read path calling raw unserialize()
-
Executionunserialize() instantiates gadget objects without allowed_classes
-
PersistGadget chain reaches code-execution sink
-
ImpactExecute 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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/pimcoreandpimcore/admin-ui-classic-bundle - Files:
lib/Tool/Authentication.php(line 82) - session token deserializationmodels/Site/Dao.php(line 68) - site domains from databasemodels/DataObject/ClassDefinition/CustomLayout/Dao.php(line 69) - layout definitions from databasemodels/Tool/TmpStore/Dao.php(line 64) - temporary store data from databasemodels/Asset/WebDAV/Service.php(line 36) - delete log from filesystemadmin-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
- Identify a writable data source (e.g.,
tmp_storetable via SQL injection, orwebdav-delete.datvia file write) - Write a serialized PHP gadget chain (e.g., Monolog
BufferHandlerchain from phpggc) - Trigger the deserialization (e.g., access a page that reads TmpStore, or trigger a WebDAV operation)
- 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.
// 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
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
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
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
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
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
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
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
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-45259
GHSA-36fc-7wjg-mfvj
NVD
CVE.org
EPSS
VulDB
Exploit-DB