CVE-2019-25782

published 18 Nov 2026 · updated 18 Nov 2026

ThinkPHP 5.0.0 < 5.0.24 RCE via _method construct in Request.php

10.0CriticalCVSS 9.8EPSS 1%3 public exploits

3 public exploits exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 5.0.24.

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.

Briefing

Written from the sources below · deepseek-v4.1-flash

ThinkPHP 5.0.0 before 5.0.24 is affected by unauthenticated remote code execution via the _method=__construct request parameter, allowing attackers to overwrite the Request filter property and execute system commands. Public exploit material exists and exploitation evidence was observed on 2023-10-14.

Why it mattersPublic exploit material, observed exploitation, and a 9.8 CVSS score make exposed ThinkPHP 5.0.x endpoints an urgent patching priority.

ActionUpgrade ThinkPHP to 5.0.24 or later, and block or monitor requests containing _method=__construct and filter[] parameters.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
TopThink>=5.0.0 <5.0.245.0.24

Exploit evidence

3 public sources

Timeline

Every event on this vulnerability

PublishedCVE-2019-25782·
ThinkPHP 5.0.0 before 5.0.24 is affected by unauthenticated remote code execution via the _method=__construct request parameter, allowing attackers to overwrite the Request filter property and execute system commands. Public exploit material exists and exploitation evidence was observed on 2023-10-14.
10.0Critical

Embed

A live severity badge for an advisory, README or ticket

CVE-2019-25782 severity on Zeptric[![CVE-2019-25782](https://zeptric.io/badge/cve/CVE-2019-25782.svg)](https://zeptric.io/cve/CVE-2019-25782)