CVE-2019-25782: Vulnerability in TopThink ThinkPHP

Critical. 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...

CWE-470

Exploitation
None confirmed
Severity
9.8 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-c952-95vh-5fw8
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-470
Published
18 Nov 2026
Last change
18 Nov 2026

Affected products

Affected versions and the first fixed release

  • TopThink ThinkPHP From 5.0.0 before 5.0.24. Fixed in 5.0.24
  • ThinkPHP From 5.0.0 before 5.0.24. Fixed in 5.0.24

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Exploit code

Public exploits and proofs of concept, handle with care

Related