# CVE-2021-23592: Deserialization of Untrusted Data

- Severity: High 7.7 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L/E:P`
- 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): 1.76%, higher than 78% of CVEs (2026-12-01)
- Published: 2022-05-06T20:05:17.579Z
- Modified: 2026-09-10T03:49:29.404Z
- Also known as: GHSA-3fpv-54ff-wqfj, SNYK-PHP-TOPTHINKFRAMEWORK-2385695
- Weaknesses: CWE-502
- Assigned by: snyk

## Description

The package topthink/framework before 6.0.12 are vulnerable to Deserialization of Untrusted Data due to insecure unserialize method in the Driver class.

(As written by CVE List.)

## Affected

- topthink/framework: from unspecified before 6.0.12
- topthink/framework (Packagist): before 6.0.12
- thinkphp thinkphp: before 6.0.12

## Every score

- snyk: CVSS:3.1 7.7 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L/E:P`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://snyk.io/vuln/SNYK-PHP-TOPTHINKFRAMEWORK-2385695> (third-party-advisory, web)
- <https://github.com/top-think/framework/releases/tag/v6.0.12> (third-party-advisory, web)
- <https://github.com/top-think/framework/commit/d3b5aeae94bc71bae97977d05cd12c3e0550905c> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-23592> (advisory)
- <https://github.com/top-think/framework> (package)

## Sources

- CVE List: [CVE-2021-23592](https://www.cve.org/CVERecord?id=CVE-2021-23592), CVE Terms of Use, modified 2024-09-16
- GitHub Advisory Database: [GHSA-3fpv-54ff-wqfj](https://github.com/advisories/GHSA-3fpv-54ff-wqfj), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2021-23592](https://nvd.nist.gov/vuln/detail/CVE-2021-23592), Public domain, modified 2026-06-17

---

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