ZeroDay Brief
CVE-2019-25782

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 fil…

CVSS
9.8Critical
Chance of exploitation (EPSS)
2.2%
Published
Nov 18, 2026
In the news
Not yet
More from this vendor

What to do

A critical security flaw in Topthink Thinkphp that can be attacked over the network without logging in. No attacks are reported yet, but patch it soon.

Action: Check the vendor's advisory in the references and apply updates as soon as they are available.

Fixed in: 5.0.24

Affected versions
Topthink Thinkphp
5.0.0 to before 5.0.24

Description

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.

CWE-470

Affected products

Get alerts for these →

Timeline 1

Latest change: CVE-2019-25782 published (CVSS 9.8) (Nov 18, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

Wed, Nov 18, 2026

  1. CVECVE-2019-25782 published (CVSS 9.8)CVE Program · 16:17 UTC

References 7

  • github.com /projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/thinkphp/thinkphp-5023-rce.yaml
  • github.com /top-think/framework/commit/4a4b5e64fa4c46f851b4004005bff5f3196de003
  • github.com /vulhub/vulhub/tree/master/thinkphp/5.0.23-rce
  • packetstorm.news /files/id/157218/
  • www.exploit-db.com /exploits/46150
  • www.vulncheck.com /advisories/thinkphp-5.0.0-5.0.23-rce-via-method-construct-in-request-php
  • www.vulncheck.com /advisories/thinkphp-5.0.0-5.0.24-rce-via-method-construct-in-request-php

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”