← Vulnerability feed

Vulnerability record · CVE-2018-25270 · published 22 April 2026

CVE-2018-25270: Thinkphp insecure direct object reference vulnerability

Thinkphp · Thinkphp

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.

9.3 CVSS 4.0 Critical EPSS 0.89% · top 42.2% CWE-639 · Insecure direct object reference
9.3CVSS 4.0 base score
0.89%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
4References, 1 tagged exploit
17 Jun 2026Last modified by NVD

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.

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/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:

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2018-25270 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

8.8CVE-2019-9082ThinkPHP invokefunction parameter allows remote command executionThinkPHP before 3.2.4, and products built on it such as Open Source BMS v1.1.1, fails to properly restrict the invokefunction route, letting a crafte…KEVEPSS 97%analysed9.8CVE-2025-63888Thinkphp php remote file inclusion vulnerabilityThe read function in file thinkphp\library\think\template\driver\File.php in ThinkPHP 5.0.24 contains a remote code execution vulnerability.EPSS 0.57%9.8CVE-2025-50707Thinkphp code injection vulnerabilityAn issue in thinkphp3 v.3.2.5 allows a remote attacker to execute arbitrary code via the index.php componentEPSS 1.0%9.8CVE-2025-50706Thinkphp code injection vulnerabilityAn issue in thinkphp v.5.1 allows a remote attacker to execute arbitrary code via the routecheck functionEPSS 1.0%9.8CVE-2024-48112Thinkphp deserialization of untrusted data vulnerabilityA deserialization vulnerability in the component \controller\Index.php of Thinkphp v6.1.3 to v8.0.4 allows attackers to execute arbitrary code.EPSS 0.89%9.8CVE-2024-44902Thinkphp deserialization of untrusted data vulnerabilityA deserialization vulnerability in Thinkphp v6.1.3 to v8.0.4 allows attackers to execute arbitrary code.EPSS 4.2%9.8CVE-2022-45982Thinkphp deserialization of untrusted data vulnerabilitythinkphp 6.0.0~6.0.13 and 6.1.0~6.1.1 contains a deserialization vulnerability. This vulnerability allows attackers to execute arbitrary code via a c…EPSS 1.2%9.8CVE-2022-47945Thinkphp path traversal vulnerabilityThinkPHP Framework before 6.0.14 allows local file inclusion via the lang parameter when the language pack feature is enabled (lang_switch_on=true). …EPSS 28%

Source: NIST National Vulnerability Database (record CVE-2018-25270), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.