CVE-2022-33107
Description
ThinkPHP v6.0.12 was discovered to contain a deserialization vulnerability via the component vendor\league\flysystem-cached-adapter\src\Storage\AbstractCache.php. This vulnerability allows attackers to execute arbitrary code via a crafted payload.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
ThinkPHP v6.0.12 contains a deserialization vulnerability in the flysystem-cached-adapter's AbstractCache.php, allowing remote code execution via crafted payloads.
ThinkPHP v6.0.12 is vulnerable to a PHP deserialization flaw in the vendor\league\flysystem-cached-adapter\src\Storage\AbstractCache.php component [1]. The vulnerability arises from insecure deserialization of user-supplied data, which can be exploited to execute arbitrary code on the server.
An attacker can exploit this vulnerability by sending a crafted serialized payload to any endpoint that performs an unserialize() call on user input. The official proof-of-concept demonstrates sending a POST parameter cmd containing a malicious serialized object chain that triggers code execution [2]. No authentication is required if such an endpoint is publicly accessible.
Successful exploitation leads to arbitrary code execution in the context of the web server, allowing the attacker to execute system commands, read sensitive files, or install backdoors. The impact is critical, as it can result in full compromise of the affected application and server.
The vulnerability was patched in subsequent releases of ThinkPHP. Users are strongly advised to upgrade to ThinkPHP 6.0.13 or later. As a workaround, ensure that no user-controlled data is passed to unserialize() without proper validation. The CVE is not currently listed in CISA's Known Exploited Vulnerabilities catalog.
AI Insight generated on May 21, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
topthink/frameworkPackagist | <= 6.0.12 | — |
Affected products
2- ThinkPHP/ThinkPHPdescription
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
3- github.com/advisories/GHSA-g377-x8rg-c9mfghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-33107ghsaADVISORY
- github.com/top-think/framework/issues/2717ghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.