CVE-2018-25270
published 2026-04-22CVE-2018-25270: ThinkPHP 5.0.23 contains a remote code execution vulnerability that allows unauthenticated attackers to execute arbitrary PHP code by invoking functions…
PriorityP183critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
ITWVulnCheck KEV
Exploited in the wild
EPSS
0.89%
54.9th percentile
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
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| thinkphp | thinkphp | — | — |
| thinkphp | thinkphp | — | — |
| thinkphp | thinkphp | >= 5.0.0 < 5.0.23 | 5.0.23 |
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv4.09.3CRITICALCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vulncheck9.8CRITICAL
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
VulDB
ThinkPHP 5.0.23/5.1.31 index.php routing authorization (Exploit 45978)
vuldb·2026-04-22·CVSS 9.3
CVE-2018-25270 [CRITICAL] ThinkPHP 5.0.23/5.1.31 index.php routing authorization (Exploit 45978)
A vulnerability was found in ThinkPHP 5.0.23/5.1.31. It has been rated as critical. This issue affects some unknown processing of the file index.php. The manipulation of the argument routing leads to authorization bypass.
This vulnerability is uniquely identified as CVE-2018-25270. The attack is possible to be carried out remotely. Moreover, an exploit is present.
GHSA
GHSA-98w3-frc2-62p8: ThinkPHP 5
ghsa_unreviewed·2026-04-22
CVE-2018-25270 [CRITICAL] CWE-639 GHSA-98w3-frc2-62p8: ThinkPHP 5
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.
VulnCheck
thinkphp ThinkPHP Authorization Bypass Through User-Controlled Key
vulncheck·2018·CVSS 9.8
CVE-2018-25270 [CRITICAL] thinkphp ThinkPHP Authorization Bypass Through User-Controlled Key
thinkphp ThinkPHP Authorization Bypass Through User-Controlled Key
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: thinkphp ThinkPHP
Required Action: Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.
Exploitation References: https://www.stormshield.com/news/current-cyberattack-trends-variations-honeypots/
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2026-04-22
Published
Exploited in the wild