# CVE-2022-45982: Deserialization of Untrusted Data in thinkphp

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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): 1.29%, higher than 70% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-02-08T00:00:00.000Z
- Modified: 2026-06-17T05:11:06.207Z
- Also known as: GHSA-j2h2-g882-x9j2
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: mitre

## Description

thinkphp 6.0.0~6.0.13 and 6.1.0~6.1.1 contains a deserialization vulnerability. This vulnerability allows attackers to execute arbitrary code via a crafted payload.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- topthink/think (Packagist): up to 6.1.1
- thinkphp thinkphp: from 6.0.0 up to 6.0.13; 6.1.0

## Every score

- CISA-ADP: 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`
- 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`

## References

- <https://gist.github.com/Dar1in9s/aa87df679057db3bbdade360d77f8cca> (exploit, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-45982> (advisory)
- <https://github.com/top-think/think> (package)

## Sources

- CVE List: [CVE-2022-45982](https://www.cve.org/CVERecord?id=CVE-2022-45982), CVE Terms of Use, modified 2025-03-25
- GitHub Advisory Database: [GHSA-j2h2-g882-x9j2](https://github.com/advisories/GHSA-j2h2-g882-x9j2), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-45982](https://nvd.nist.gov/vuln/detail/CVE-2022-45982), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-45982 · Whole record: https://cve.day/CVE-2022-45982.json · Rebuilt by cve.day 2026-11-25T22:58:18.543Z
