ThinkPHP 5.0.0 < 5.0.24 RCE via _method construct in Request.php
No fixed version listed yet.Check the vendor advisory. References ↓
TopThink · ThinkPHP
ThinkPHP versions 5.0.0 before 5.0.24 contain a code injection flaw in the Request component (Request.php), where the _method parameter can be set to __construct to overwrite the Request filter property. An unauthenticated attacker with network access can send crafted POST requests to routes such as ?s=captcha or ?s=index/index/index, setting the filter and server values to run arbitrary system commands, with no user interaction or configuration required.
Official description · NVD
ThinkPHP 5.0.0 before 5.0.24 contains a code injection vulnerability that allows unauthenticated attackers to execute commands by setting _method=__construct in POST data to overwrite the Request filter property. Attackers can send POST requests to endpoints reached via ?s=captcha or ?s=index/index/index with filter[]=system and server[REQUEST_METHOD] values to execute arbitrary system commands. Exploitation evidence was first observed by the Shadowserver Foundation on 2023-10-14.
- Exploited
- Yes, in VulnCheck KEV
- Reports
- 0
- Tactics
- 0/15
Exploitation timelineDated milestones for a CVE: when it was disclosed, when exploit code became public, when exploitation was confirmed, and when threat reports named it.
First seen exploited the day it was disclosed.
Affected versions and fixes
as published in the CVE recordTopThink ThinkPHP
Affected: >= 5.0.0, < 5.0.24
What security researchers reported
Not named in any threat report yetAlso mentioned in 1 community threat pulse (AlienVault OTX)
Weaker evidencePulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.
- Known_Cve | Nov 19, 2026 | Part 2/319 Nov 2026