CVE-2026-27206

Source
https://cve.org/CVERecord?id=CVE-2026-27206
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-27206.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-27206
Aliases
Downstream
Published
2026-02-21T07:01:00.843Z
Modified
2026-02-25T02:36:46.751149Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Zumba Json Serializer has a potential PHP Object Injection via Unrestricted @type in unserialize()
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-502"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27206.json",
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/zumba/json-serializer

Affected ranges

Type
GIT
Repo
https://github.com/zumba/json-serializer
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

1.*
1.0.0
1.0.1
1.0.2
2.*
2.0.0
2.0.1
2.1.0
2.2.0
3.*
3.0.0
3.0.1
3.0.2
3.1.0
3.2.0
3.2.1
3.2.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-27206.json"