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

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.83%, higher than 58% of CVEs (2026-12-01)
- Published: 2026-02-19T22:05:40.000Z
- Modified: 2026-06-17T10:26:50.817Z
- Also known as: GHSA-v7m3-fpcr-h7m2
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- zumba json-serializer: < 3.2.3
- zumba/json-serializer (Packagist): before 3.2.3

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/zumba/json-serializer/security/advisories/GHSA-v7m3-fpcr-h7m2> (web)
- <https://github.com/zumba/json-serializer/commit/bf26227879adefce75eb9651040d8982be97b881> (web)
- <https://github.com/zumba/json-serializer/releases/tag/3.2.3> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-27206> (advisory)
- <https://github.com/zumba/json-serializer> (package)

## Sources

- CVE List: [CVE-2026-27206](https://www.cve.org/CVERecord?id=CVE-2026-27206), CVE Terms of Use, modified 2026-02-24
- GitHub Advisory Database: [GHSA-v7m3-fpcr-h7m2](https://github.com/advisories/GHSA-v7m3-fpcr-h7m2), CC-BY-4.0, modified 2026-02-23
- NVD: [CVE-2026-27206](https://nvd.nist.gov/vuln/detail/CVE-2026-27206), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-27206 · Whole record: https://cve.day/CVE-2026-27206.json · Rebuilt by cve.day 2026-11-25T22:59:14.605Z
