CVE-2018-25270

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:thinkphp:thinkphp:*:*:*:*:*:*:*:*
cpe:2.3:a:thinkphp:thinkphp:5.1.31:*:*:*:*:*:*:*

History

27 Apr 2026, 17:20

Type Values Removed Values Added
CPE cpe:2.3:a:thinkphp:thinkphp:5.1.31:*:*:*:*:*:*:*
cpe:2.3:a:thinkphp:thinkphp:*:*:*:*:*:*:*:*
References () https://github.com/top-think/framework/ - () https://github.com/top-think/framework/ - Product
References () https://thinkphp.cn - () https://thinkphp.cn - Broken Link
References () https://www.exploit-db.com/exploits/45978 - () https://www.exploit-db.com/exploits/45978 - Exploit, Third Party Advisory, VDB Entry
References () https://www.vulncheck.com/advisories/thinkphp-remote-code-execution-via-invokefunction - () https://www.vulncheck.com/advisories/thinkphp-remote-code-execution-via-invokefunction - Third Party Advisory
First Time Thinkphp thinkphp
Thinkphp

22 Apr 2026, 16:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-22 16:16

Updated : 2026-06-17 01:55


NVD link : CVE-2018-25270

Mitre link : CVE-2018-25270

CVE.ORG link : CVE-2018-25270


JSON object : View

Products Affected

thinkphp

  • thinkphp
CWE
CWE-639

Authorization Bypass Through User-Controlled Key