freenode

← CVE tracker

CVE-2019-25782

ThinkPHP 5.0.0 < 5.0.24 RCE via _method construct in Request.php

Severity
critical CVSS 9.3 (v4.0)
Affects
ThinkPHP · TopThink
Weakness
CWE-470: Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')
Published
18 November 2026 by VulnCheck
ThinkPHP 5.0.0 before 5.0.24 contains a code injection vulnerability that allows unauthenticated attackers to execute commands by setting _method=__construct in POST data to overwrite the Request filter property. Attackers can send POST requests to endpoints reached via ?s=captcha or ?s=index/index/index with filter[]=system and server[REQUEST_METHOD] values to execute arbitrary system commands. Exploitation evidence was first observed by the Shadowserver Foundation on 2023-10-14.

Our coverage

We have not written about this one. Know why it matters? Send a tip.