Vulnerability · Published Feb 21, 2026 · Assigned by GitHub_M

CVE-2026-27206Zumba Json Serializer has a potential PHP Object Injection via Unrestricted @type in unserialize()

High 8.1

In plain English

A high-severity unsafe deserialization in json-serializer from zumba. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 58% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.1High
Exploit odds (30 days)0.8%top 42.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12php-zumba-json-serializerno fix listedDEBIAN-CVE-2026-27206
Debian:13php-zumba-json-serializerno fix listedDEBIAN-CVE-2026-27206
Debian:14php-zumba-json-serializer3.2.4-1DEBIAN-CVE-2026-27206
Packagistzumba/json-serializer3.2.3GHSA-v7m3-fpcr-h7m2
Ubuntu:24.04:LTSphp-zumba-json-serializerno fix listedUBUNTU-CVE-2026-27206
Ubuntu:25.10php-zumba-json-serializerno fix listedUBUNTU-CVE-2026-27206
Ubuntu:26.04:LTSphp-zumba-json-serializerno fix listedUBUNTU-CVE-2026-27206
Ubuntu:26.10php-zumba-json-serializerno fix listedUBUNTU-CVE-2026-27206

Affected products (as reported)

VendorProductVersions
zumba json-serializer < 3.2.3

Weakness: CWE-502 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

References