CVE-2026-27206 Details
Description
Zumba Json Serializer is a library to serialize PHP variables in JSON format. In versions 3.2.2 and below, the library allows deserialization of PHP objects from JSON using a special @type field. The deserializer instantiates any class specified in the @type field without restriction. When processing untrusted JSON input, this behavior may allow an attacker to instantiate arbitrary classes available in the application. If a vulnerable application passes attacker-controlled JSON into JsonSerializer::unserialize() and contains classes with dangerous magic methods (such as __wakeup() or __destruct()), this may lead to PHP Object Injection and potentially Remote Code Execution (RCE), depending on available gadget chains in the application or its dependencies. This behavior is similar in risk profile to PHP's native unserialize() when used without the allowed_classes restriction. Applications are impacted only if untrusted or attacker-controlled JSON is passed into JsonSerializer::unserialize() and the application or its dependencies contain classes that can be leveraged as a gadget chain. This issue has been fixed in version 3.2.3. If an immediate upgrade isn't feasible, mitigate the vulnerability by never deserializing untrusted JSON with JsonSerializer::unserialize(), validating and sanitizing all JSON input before deserialization, and disabling @type-based object instantiation wherever possible.
A vulnerability exists in Zumba Json Serializer versions prior to 3.2.3, allowing for unrestricted deserialization of PHP objects from JSON. The issue arises because the deserializer instantiates any class specified in the '@type' field without restrictions. This behavior can be exploited by an attacker to instantiate arbitrary classes within the application, particularly if those classes have dangerous magic methods like '__wakeup()' or '__destruct()'. Such exploitation could lead to PHP Object Injection and potentially remote code execution, depending on the application's context and available gadget chains. The vulnerability is similar to PHP's native 'unserialize()' function when used without the 'allowed_classes' restriction.
Upgrade to Zumba Json Serializer version 3.2.3 or later. After upgrading, configure the serializer to restrict which classes can be instantiated during deserialization by using the 'setAllowedClasses()' method. If an immediate upgrade isn't possible, avoid deserializing untrusted JSON with 'JsonSerializer::unserialize()', validate and sanitize all JSON input before deserialization, and disable '@type'-based object instantiation in application logic where possible.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Feb 21, 2026CISA-ADP
Assessed Feb 24, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/zumba/json-serializer/commit/bf26227879adefce75eb9651040d8982be97b881 | [email protected] | Source CodeVendor |
| https://github.com/zumba/json-serializer/releases/tag/3.2.3 | [email protected] | Release NotesVendor |
| https://github.com/zumba/json-serializer/security/advisories/GHSA-v7m3-fpcr-h7m2 | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-502 | Deserialization of Untrusted Data | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Zumba Json Serializer | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 21, 2026 | New CVE Received | [email protected] |
Volerion