CVE-2018-25270

Critical

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.

SeverityCritical
CVSS9.8
Exploit probability—
ProductThinkphp
PublishedApr 22, 2026
First seenApr 22, 2026

How to fix

Update
  • thinkphp thinkphp5.0.23 or later

Affected products

ProductAffected versionsFixed in
thinkphp thinkphp5.0.0 ≤ v < 5.0.23, 5.1.315.0.23

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.