{"id":"CVE-2026-27206","published":"2026-02-21T07:01:00Z","modified":"2026-02-24T18:57:10Z","title":"Zumba Json Serializer has a potential PHP Object Injection via Unrestricted @type in unserialize()","vendor":"zumba","product":"json-serializer","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01338,"percentile":0.7136,"provenance":"source"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"references":[{"url":"https://github.com/zumba/json-serializer/security/advisories/GHSA-v7m3-fpcr-h7m2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/zumba/json-serializer/commit/bf26227879adefce75eb9651040d8982be97b881","tags":["x_refsource_MISC"]},{"url":"https://github.com/zumba/json-serializer/releases/tag/3.2.3","tags":["x_refsource_MISC"]}],"priority":{"score":19.9,"factors":[{"name":"EPSS percentile","points":14.27},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"zumba","affectedVersions":[{"vendor":"zumba","product":"json-serializer","versions":["< 3.2.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-02-24T18:56:54.179563Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"zumba/json-serializer","vulnerableRanges":["<3.2.3"],"patched":["3.2.3"],"from":["GHSA-v7m3-fpcr-h7m2"],"provenance":"source"}],"summary":{"text":"The Zumba Json Serializer library (json-serializer, its JSON deserialization function JsonSerializer::unserialize()) instantiates any class named in a special @type field without restriction, a deserialization of untrusted data flaw. An attacker who can supply JSON to an application that passes untrusted input into JsonSerializer::unserialize() can cause arbitrary available classes to be instantiated, which may lead to PHP Object Injection and possibly remote code execution depending on the gadget chains present in the application or its dependencies.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:40:37Z"},"euvd":{"id":"EUVD-2026-7724","exploited":false,"provenance":"source"}}