CVE-2026-27206Zumba Json Serializer has a potential PHP Object Injection via Unrestricted @type in…
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.
What to do
Fixed builds are available from Debian, Packagist: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | php-zumba-json-serializer | Fix pending | UBUNTU-CVE-2026-27206 | |
| Ubuntu 26.04 | php-zumba-json-serializer | Under investigation | UBUNTU-CVE-2026-27206 | |
| Ubuntu 25.10 | php-zumba-json-serializer | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-27206 | |
| Ubuntu 24.04 | php-zumba-json-serializer | Under investigation | UBUNTU-CVE-2026-27206 | |
| Debian 14 | php-zumba-json-serializer | Fixed | 3.2.4-1 | DEBIAN-CVE-2026-27206 |
| Debian 13 | php-zumba-json-serializer | Fix pending | DEBIAN-CVE-2026-27206 | |
| Debian 12 | php-zumba-json-serializer | Fix pending | DEBIAN-CVE-2026-27206 | |
| Packagist library | zumba/json-serializer | Fixed | 3.2.3 | GHSA-v7m3-fpcr-h7m2 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- zumba json-serializer: affected: < 3.2.3
References
- https://github.com/zumba/json-serializer/security/advisories/GHSA-v7m3-fpcr-h7m2
- https://github.com/zumba/json-serializer/commit/bf26227879adefce75eb9651040d8982be97b881
- https://github.com/zumba/json-serializer/releases/tag/3.2.3
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.