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.
Metrics
Affected Vendors & Products
References
History
Wed, 22 Apr 2026 16:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
Wed, 22 Apr 2026 15:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | ThinkPHP 5.0.23 Remote Code Execution via invokefunction | |
| First Time appeared |
Thinkphp
Thinkphp thinkphp |
|
| Weaknesses | CWE-639 | |
| CPEs | cpe:2.3:a:thinkphp:thinkphp:5.0.23:*:*:*:*:*:*:* cpe:2.3:a:thinkphp:thinkphp:5.1.31:*:*:*:*:*:*:* cpe:2.3:a:thinkphp:thinkphp:6.0.15:*:*:*:*:*:*:* cpe:2.3:a:thinkphp:thinkphp:6.0.16:*:*:*:*:*:*:* cpe:2.3:a:thinkphp:thinkphp:6.1.3:*:*:*:*:*:*:* cpe:2.3:a:thinkphp:thinkphp:6.1.4:*:*:*:*:*:*:* cpe:2.3:a:thinkphp:thinkphp:6.1.5:*:*:*:*:*:*:* cpe:2.3:a:thinkphp:thinkphp:8.0.0:*:*:*:*:*:*:* cpe:2.3:a:thinkphp:thinkphp:8.0.0:beta:*:*:*:*:*:* cpe:2.3:a:thinkphp:thinkphp:8.0.1:*:*:*:*:*:*:* cpe:2.3:a:thinkphp:thinkphp:8.0.2:*:*:*:*:*:*:* cpe:2.3:a:thinkphp:thinkphp:8.0.3:*:*:*:*:*:*:* cpe:2.3:a:thinkphp:thinkphp:8.0.4:*:*:*:*:*:*:* |
|
| Vendors & Products |
Thinkphp
Thinkphp thinkphp |
|
| References |
| |
| Metrics |
cvssV3_1
|
Status: PUBLISHED
Assigner: VulnCheck
Published:
Updated: 2026-04-22T15:59:29.873Z
Reserved: 2026-04-22T14:32:40.667Z
Link: CVE-2018-25270
Updated: 2026-04-22T15:58:48.965Z
Status : Received
Published: 2026-04-22T16:16:47.770
Modified: 2026-04-22T16:16:47.770
Link: CVE-2018-25270
No data.
OpenCVE Enrichment
Updated: 2026-04-22T18:30:23Z