Live threats

All CVEs / TopThink

CVE-2019-25782TopThink ThinkPHP

Unauthenticated Code Injection in ThinkPHP 5.0.0 to 5.0.23

Critical 9.3 No auth needed

Priority
76
CVSS 4.0
9.3
EPSS
2.2%
probability of exploitation in 30 days · percentile 83
Auth required
No
Published
Nov 18, 2026
Updated
Nov 18, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-470
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: total
Vector
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:X/V:X/RE:X/U:X

What happens

ThinkPHP 5.0.0 before 5.0.24 contains a code injection vulnerability allowing unauthenticated attackers to execute arbitrary system commands. The flaw is exploited via POST requests with _method=__construct to overwrite the Request filter property. Active exploitation was confirmed from October 2023.

Show the original NVD text

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.

Source text, unmodified. NVD.

What to do

Patch available · fixed versions: 5.0.24

Update ThinkPHP to version 5.0.24 or later to apply the security patch.

Vendor advisory · github.com ↗

  1. Apply the vendor's security update for ThinkPHP.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.