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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.1
- **CVSS:** 8.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.34% (percentile 71, 2026-11-28)
- **CWE:** CWE-502
- **Aliases:** GHSA-v7m3-fpcr-h7m2
- **Published:** 2026-02-19T22:05:40.000Z
- **Modified:** 2026-06-17T10:26:50.817Z

## Who should check

- Projects that depend on Packagist package zumba/json-serializer (\< 3.2.3)
- Anyone running zumba json-serializer \< 3.2.3

## 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 and fixed versions

- Packagist `zumba/json-serializer`: affected \< 3.2.3; fixed 3.2.3 (osv)
- zumba json-serializer: \< 3.2.3 (cvelist)

## Mitigation

- Upgrade zumba/json-serializer to 3.2.3 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-27206. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-27206.md
Affected: zumba/json-serializer < 3.2.3
Fixed in: 3.2.3

Steps:
1. Search this machine and project for zumba/json-serializer (Packagist), zumba json-serializer: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-27206 being exploited?

There is no confirmed exploitation: CVE-2026-27206 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.34% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-27206?

High: CVSS 8.1 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-27206?

zumba/json-serializer \< 3.2.3.

### Is there a fix for CVE-2026-27206?

Yes. Fixed in 3.2.3. Upgrade zumba/json-serializer to 3.2.3 or later.

### How do I check if I'm affected by CVE-2026-27206?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/zumba/json-serializer/security/advisories/GHSA-v7m3-fpcr-h7m2>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-27206>
- patch: <https://github.com/zumba/json-serializer/commit/bf26227879adefce75eb9651040d8982be97b881>
- other: <https://github.com/zumba/json-serializer/releases/tag/3.2.3>
- other: <https://github.com/zumba/json-serializer>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-27206>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-v7m3-fpcr-h7m2> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-27206> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-27206>
