Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. zumba/json-serializer
  4. ›
  5. CVE-2026-27206

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

February 19, 2026

The zumba/json-serializer library allows deserialization of PHP objects from JSON using a special @type field.

Prior to version 3.2.3, the deserializer would instantiate 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.

References

  • github.com/advisories/GHSA-v7m3-fpcr-h7m2
  • github.com/zumba/json-serializer
  • github.com/zumba/json-serializer/commit/bf26227879adefce75eb9651040d8982be97b881
  • github.com/zumba/json-serializer/releases/tag/3.2.3
  • github.com/zumba/json-serializer/security/advisories/GHSA-v7m3-fpcr-h7m2
  • nvd.nist.gov/vuln/detail/CVE-2026-27206

Code Behaviors & Features

Detect and mitigate CVE-2026-27206 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.2.3

Fixed versions

  • 3.2.3

Solution

Upgrade to version 3.2.3 or above.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-502: Deserialization of Untrusted Data

Source file

packagist/zumba/json-serializer/CVE-2026-27206.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 20 Feb 2026 12:20:00 +0000.