# CVE-2021-32836: Pre-auth unsafe deserialization in ZStack

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/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): 2.04%, higher than 81% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-09-09T02:05:11.000Z
- Modified: 2026-06-17T03:53:43.760Z
- Weaknesses: CWE-94, CWE-502
- Assigned by: GitHub_M

## Description

ZStack is open source IaaS(infrastructure as a service) software. In ZStack before versions 3.10.12 and 4.1.6 there is a pre-auth unsafe deserialization vulnerability in the REST API. An attacker in control of the request body will be able to provide both the class name and the data to be deserialized and therefore will be able to instantiate an arbitrary type and assign arbitrary values to its fields. This issue may lead to a Denial Of Service. If a suitable gadget is available, then an attacker may also be able to exploit this vulnerability to gain pre-auth remote code execution. For additional details see the referenced GHSL-2021-087.

(As written by CVE List.)

## Affected

- zstackio zstack: < 3.10.12; >= 4.0.0, < 4.1.6
- zstack zstack: before 3.10.12; from 4.1.0 before 4.1.6

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:H`
- NVD: 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`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://securitylab.github.com/advisories/GHSL-2021-087-zstack/> (exploit, third-party-advisory)
- <https://github.com/zstackio/zstack/security/advisories/GHSA-jfvq-548h-342x> (third-party-advisory)

## Sources

- CVE List: [CVE-2021-32836](https://www.cve.org/CVERecord?id=CVE-2021-32836), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-32836](https://nvd.nist.gov/vuln/detail/CVE-2021-32836), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-32836 · Whole record: https://cve.day/CVE-2021-32836.json · Rebuilt by cve.day 2026-11-25T22:58:03.816Z
