Skip to content
OpenAdvisories
Critical · 9.8 CVE-2018-25270 EUVD-2018-21786GHSA-98w3-frc2-62p8

ThinkPHP 5.0.23 Remote Code Execution via invokefunction

Published Apr 22, 2026 · Updated Apr 22, 2026 · Assigned by VulnCheck

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.

Affected products

VendorProductAffectedFixed
Thinkphp ThinkPHP 5.0.23, 5.1.31 —

References