Read the docs
TI-2018-15495 Aliases CVE-2018-25270GHSA-98w3-frc2-62p8

ThinkPHP 5.0.23 Remote Code Execution via invokefunction

Priority HIGH 81CWE-639Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Security bypass
Confidentiality · integrity · availability
High · High · High
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-639.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.0089 59th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by the CNA and NVD
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ThinkPHPThinkPHP5.0.23; 5.1.31—No fix listedCNA
  • ThinkPHP VendorThinkPHP Affected 5.0.23; 5.1.31 Fixed in — No fix listed CNA

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:thinkphp:thinkphp:*:*:*:*:*:*:*:*5.0.0 to before 5.0.23VulnerableThinkPHP
cpe:2.3:a:thinkphp:thinkphp:5.1.31:*:*:*:*:*:*:*5.1.31VulnerableThinkPHP
  • cpe:2.3:a:thinkphp:thinkphp:*:*:*:*:*:*:*:* Versions 5.0.0 to before 5.0.23 Vulnerable ·ThinkPHP
  • cpe:2.3:a:thinkphp:thinkphp:5.1.31:*:*:*:*:*:*:* Versions 5.1.31 Vulnerable ·ThinkPHP

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2018-25270
  2. 2026-10-03 Alias added: GHSA-98w3-frc2-62p8

References

  • TI-2019-06557 ThinkPHP before 3.2.4, as used in Open Source BMS v1.1.1 and other products, allows… KEVCVSS 3.1HIGH 8.8
  • TI-2025-32227 An issue in thinkphp3 v.3.2.5 allows a remote attacker to execute arbitrary code via the index.php component CVSS 3.1CRITICAL 9.8
  • TI-2025-32226 An issue in thinkphp v.5.1 allows a remote attacker to execute arbitrary code via the routecheck function CVSS 3.1CRITICAL 9.8
  • TI-2024-32271 A deserialization vulnerability in the component \controller\Index.php of Thinkphp v6.1.3… CVSS 3.1CRITICAL 9.8
  • TI-2024-30031 A deserialization vulnerability in Thinkphp v6.1.3 to v8.0.4 allows attackers to execute arbitrary code. CVSS 3.1CRITICAL 9.8
  • TI-2022-23758 ThinkPHP Framework before 6.0.14 allows local file inclusion via the lang parameter when… CVSS 3.1CRITICAL 9.8
See all 26 →

Sources