CVE-2024-44902: RCE via insecure deserialization in ThinkPHP (Memcached extension)
- Vendor
- Thinkphp
CVE-2024-44902 is a critical insecure deserialization vulnerability in ThinkPHP affecting versions 6.1.3 through 8.0.4. When the Memcached PHP extension is enabled, an attacker can supply crafted serialized data to a vulnerable ThinkPHP endpoint (reported as /index/import) that triggers a gadget chain within ThinkPHP classes (ResourceRegister → DbManager → Memcached → Pivot → Model), resulting in execution of attacker-controlled commands (remote code execution).
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation results in remote code execution in the context of the web server/PHP process, enabling full compromise of the affected ThinkPHP application host (e.g., arbitrary command execution, follow-on persistence and lateral movement depending on environment and privileges).
Mitigation
If you can’t patch tonight, do this now.
If immediate patching is not possible: disable the Memcached PHP extension where not strictly required; restrict access to the vulnerable endpoint (/index/import) via authentication and network controls (e.g., allowlisting, WAF rules); reduce exposure of internet-facing ThinkPHP instances; monitor for exploitation attempts and OOB callback indicators consistent with public detection templates.
Remediation
Patch, then assume compromise.
Upgrade ThinkPHP to a version that addresses CVE-2024-44902 (a release newer than 8.0.4) and/or apply the vendor-provided fix referenced by NVD / GHSA-f4wh-359g-4pq7. Ensure the vulnerable deserialization path (e.g., /index/import) is patched/removed if not required.
Exploits
No validated public exploits yet. Hidden: 2 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2024-44902 exploited in the wild?
- Yes. As of Sep 25, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2024-44902?
- Yes. As of Sep 25, 2026, Mallory has reports of a public exploit for CVE-2024-44902.
- Is there a patch for CVE-2024-44902?
- Upgrade ThinkPHP to a version that addresses CVE-2024-44902 (a release newer than 8.0.4) and/or apply the vendor-provided fix referenced by NVD / GHSA-f4wh-359g-4pq7. Ensure the vulnerable deserialization path (e.g., /index/import) is patched/removed if not required.
- What products are affected by CVE-2024-44902?
- Thinkphp.
- How severe is CVE-2024-44902?
- CVE-2024-44902 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 4.2% (91st percentile) as of Sep 25, 2026.
Recent activity
5 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.