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

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 22 Apr 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


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

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-04-22T15:59:29.873Z

Reserved: 2026-04-22T14:32:40.667Z

Link: CVE-2018-25270

cve-icon Vulnrichment

Updated: 2026-04-22T15:58:48.965Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-04-22T16:16:47.770

Modified: 2026-04-22T21:23:52.620

Link: CVE-2018-25270

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-22T21:30:27Z

Weaknesses