{"answers":{"affected":"2 open source packages ship an affected version, including zumba/json-serializer.","exploited":"There is no known exploitation of CVE-2026-27206 in the wild and no public exploit code.","fix":"Upgrade zumba/json-serializer to 3.2.3 or later.","what":"CVE-2026-27206 is a high-severity unsafe deserialization vulnerability in zumba json-serializer, published on 21 Feb 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-27206 and fix it if it is affected.\n\nWhat it is: CVE-2026-27206 is a high-severity unsafe deserialization vulnerability in zumba json-serializer, published on 21 Feb 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-27206 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- zumba/json-serializer (Packagist): affected all versions; fixed in 3.2.3\n- zumba/json-serializer (Packagist): affected all versions; fixed in 3.2.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-27206/ (Markdown: https://insights.sbomify.com/CVE-2026-27206/index.md)","id":"CVE-2026-27206","markdown":"https://insights.sbomify.com/CVE-2026-27206/index.md","name":"CVE-2026-27206","record":{"aliases":["DEBIAN-CVE-2026-27206","GHSA-v7m3-fpcr-h7m2","UBUNTU-CVE-2026-27206"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"PHP JSON serializer","requires_auth":"none","summary":"Attackers can achieve remote code execution by injecting malicious JSON into the Zumba Json Serializer library if untrusted input is deserialized.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"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.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Zumba Json Serializer has a potential PHP Object Injection via Unrestricted @type in unserialize()","id":"CVE-2026-27206","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"deserialization","year":"2026"},"n_packages":2,"n_references":3,"next":{"headline":"api-gateway-deploy Affected by Exploitable Command Injection via Unprivileged Root Execution","id":"CVE-2026-27208"},"packages":[{"ecosystem":"Packagist","fixed":["3.2.3"],"introduced":["0"],"last_affected":[],"package":"zumba/json-serializer","purl":null,"source":"GHSA-v7m3-fpcr-h7m2"},{"ecosystem":"Packagist","fixed":["3.2.3"],"introduced":["0"],"last_affected":[],"package":"zumba/json-serializer","purl":"pkg:composer/zumba/json-serializer","source":"GHSA-v7m3-fpcr-h7m2"}],"prev":{"headline":"Flask session does not add `Vary: Cookie` header when accessed in some ways","id":"CVE-2026-27205"},"products":["json-serializer"],"published":"2026-02-21","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-02-24","vendors":["zumba"]},"summary":"Attackers can achieve remote code execution by injecting malicious JSON into the Zumba Json Serializer library if untrusted input is deserialized.","url":"https://insights.sbomify.com/CVE-2026-27206/"}