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.

Project Subscriptions

Vendors Products
Thinkphp Subscribe
Thinkphp Subscribe
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 18 Nov 2026 15:45:00 +0000

Type Values Removed Values Added
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.
Title ThinkPHP 5.0.0 < 5.0.24 RCE via _method construct in Request.php
First Time appeared Thinkphp
Thinkphp thinkphp
Weaknesses CWE-470
CPEs cpe:2.3:a:thinkphp:thinkphp:*:*:*:*:*:*:*:*
Vendors & Products Thinkphp
Thinkphp thinkphp
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.3, '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'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-18T17:48:13.011Z

Reserved: 2026-11-11T16:45:16.705Z

Link: CVE-2019-25782

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-18T16:17:48.667

Modified: 2026-11-18T18:17:32.423

Link: CVE-2019-25782

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-18T16:45:02Z

Weaknesses