CVE-2022-45982
CRITICAL 9.8CVSS 3.1Deserialization of Untrusted Data in thinkphp
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.
- Published
- 8 Feb 2023
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-502
- Also known as
- GHSA-j2h2-g882-x9j2
- Sources
- NVDJSONOSV GHSA-j2h2-g882-x9j2JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | thinkphp | thinkphpcpe:2.3:a:thinkphp:thinkphp:*:*:*:*:*:*:*:* |
>= 6.0.0, <= 6.0.13 | |
| NVD | thinkphp | thinkphpcpe:2.3:a:thinkphp:thinkphp:6.1.0:*:*:*:*:*:*:* |
= 6.1.0 | |
| OSV | Packagist | topthink/think | <= 6.1.1 |
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
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 8 Feb 2023)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 8 Feb 2023)