CVE Watchtower

CVE-2019-25782TopThink ThinkPHP Use of Externally-Controlled Input to Select Classes or Code (Unsafe Reflection)

NVD

Vulnerability Summary

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.
Severity Level
CRITICAL(9.3)
Published Date
Nov 18, 2026
Last Modified
Nov 18, 2026
Exploitation Status
ACTIVE
EPSS Score (30-Day)
2.20%Probability
Root Weakness (CWE)
The product uses external input with reflection to select which classes or code to use, but it does not sufficiently prevent the input from selecting improper classes or code.
CVSS v4.0 Base Metrics — Score 9.3 (CRITICAL)
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
Attack VectorNetwork
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredNone
User InteractionNone
Confidentiality (Vulnerable System)High
Integrity (Vulnerable System)High
Availability (Vulnerable System)High
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 9.8)
CVSS v3.1 Base Metrics — Score 9.8 (CRITICAL)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

Affected & Patched Versions

Affected Versions
  • TopThink ThinkPHP >= 5.0.0 and < 5.0.24
Patched Versions
  • TopThink ThinkPHP 5.0.24

What to do

Treat as urgent. Attackers are exploiting this flaw.

  1. Check whether you run TopThink ThinkPHP and which version.
  2. Update to a patched version listed above, then confirm the new version.
  3. Review logs and exposed services for signs of earlier compromise.

Timeline

  • Nov 18, 2026Published
  • Nov 18, 2026PoC status changed: POC to UNKNOWN
  • Nov 18, 2026Record last modified
  • Nov 18, 2026PoC status changed: POC to UNKNOWN
  • Nov 18, 2026PoC status changed: POC to UNKNOWN
  • Nov 18, 2026PoC status changed: POC to UNKNOWN

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new TopThink ThinkPHP CVEsYou are reading CVE-2019-25782. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Nov 24, 2026 23:14 UTC