ThinkPHP 5.0.23 Remote Code Execution via invokefunction
Thinkphp · ThinkPHP
ThinkPHP 5.0.23 contains a remote code execution flaw in its routing handling of the invokefunction parameter, affecting the ThinkPHP product's index.php endpoint. An unauthenticated attacker with network access to that endpoint can craft a request with malicious function parameters to run arbitrary PHP code and system commands with the application's privileges, requiring no authentication, user interaction, or special configuration.
ThinkPHP 5.0.23 contains a remote code execution vulnerability that allows unauthenticated attackers to execute arbitrary PHP code by invoking functions through the routing parameter. Attackers can craft requests to the index.php endpoint with malicious function parameters to execute system commands with application privileges.
- 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 43 days after disclosure.
- Disclosedday 0
- First seen exploitedVulnCheck KEV evidence+43 days
MITRE ATT&CKA public catalogue of the techniques attackers use, maintained by MITRE. Patchfirst uses it to describe what attackers do with a vulnerability. techniques
No techniques linkedNo ATT&CK techniques are linked to this CVE yet. MITRE CTID has not mapped it, and no report passage in the corpus ties it to a technique.
What security researchers reported
Not named in any threat report yetAlso mentioned in 7 community threat pulses (AlienVault OTX)
Weaker evidencePulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.
- Known_Cve | May 1, 202630 Apr 2026
- Known_Cve | Apr 30, 202629 Apr 2026
- Known_Cve | Apr 29, 202628 Apr 2026
- Known_Cve | Apr 28, 202627 Apr 2026
- Known_Cve | Apr 27, 202626 Apr 2026
- Known_Cve | Apr 26, 202625 Apr 2026
- 1 more on OTX