TopThink · ThinkPHP · CWE-470 · published 2026-11-18
CVE-2019-25782ThinkPHP 5.0.0 < 5.0.24 RCE via _method construct in Request.php
This month Public proof-of-concept exists (SSVC exploitation: poc).
CVE-2019-25782 has a public proof-of-concept exploit, but no confirmed exploitation in the wild. EPSS estimates a 0.7% chance of exploitation in the next 30 days, higher than 53% of all CVEs. This ThinkPHP vulnerability: CVSS 9.3 (v4.0), attacks can be automated, a successful attack gives total control of the component. Patch in your normal monthly cycle.
Jump to: Remediation Exploit intelAffected versionsDescription
Remediation#
No fixed version is recorded here yet. Check the vendor advisory linked from the CVE record below.
Exploit intelligence#
| Signal | Value | Source |
|---|---|---|
| Known exploited | No | CISA KEV |
| Ransomware use | — | CISA KEV |
| EPSS (30-day exploitation probability) | 0.7% (53th pct) | FIRST EPSS v2026.06.15 |
| CVSS base score | 9.3 (v4.0)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 | CNA / CISA ADP |
| SSVC exploitation | poc | CISA Vulnrichment |
| SSVC automatable | Yes | CISA Vulnrichment |
| SSVC technical impact | total | CISA Vulnrichment |
Weakness: CWE-470: Use of Externally-Controlled Input to Select Classes or Code
Affected versions (from the CVE record)#
- TopThink ThinkPHP
5.0.0to before5.0.24(affected)
Description (from the CVE record)#
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.
Quoted from the CVE Program record.