CVE-2018-25270

ThinkPHP 5.0.23 Remote Code Execution via invokefunction

Published Apr 22, 2026 CVSS 4.0 · 9.3 Critical EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:thinkphp:thinkphp:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Apr 22, 2026, 3:59 PM
Reserved
Apr 22, 2026, 2:32 PM
Status
Analyzed
Published
Apr 22, 2026, 4:16 PM
Modified
Jun 17, 2026, 1:55 AM