CVE-2021-44892: RCE in ThinkPHP 3.x.x via value[_filename]
- Vendor
- Thinkphp
CVE-2021-44892 is a remote code execution vulnerability in ThinkPHP 3.x.x. The vulnerability exists due to improper handling of the value[_filename] parameter in index.php, allowing an attacker to inject and execute arbitrary code on the server.
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 allows a remote attacker to execute arbitrary code with the privileges of the web server process, potentially leading to full server compromise and unauthorized access to sensitive data.
Mitigation
If you can’t patch tonight, do this now.
Restrict access to the affected endpoint, employ web application firewalls to detect and block malicious payloads, and ensure that user-supplied input is properly validated and sanitized.
Remediation
Patch, then assume compromise.
Upgrade ThinkPHP to a version that has patched this vulnerability. If an upgrade is not possible, apply vendor-provided patches or implement input validation to sanitize the value[_filename] parameter.
Exploits
No public exploits tracked yet. Mallory keeps watching.
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-2021-44892 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2021-44892?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2021-44892.
- Is there a patch for CVE-2021-44892?
- Upgrade ThinkPHP to a version that has patched this vulnerability. If an upgrade is not possible, apply vendor-provided patches or implement input validation to sanitize the value[_filename] parameter.
- What products are affected by CVE-2021-44892?
- Thinkphp.
- How severe is CVE-2021-44892?
- CVE-2021-44892 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 2.0% (81st percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.