{"id":"CVE-2019-25782","published":"2026-11-18T16:17:48Z","modified":"2026-11-18T18:17:32Z","title":"ThinkPHP 5.0.0 < 5.0.24 RCE via _method construct in Request.php","vendor":"TopThink","product":"ThinkPHP","tier":"core","eol":null,"affectedVersions":[{"vendor":"TopThink","product":"ThinkPHP","versions":[">= 5.0.0, < 5.0.24"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-11-18T17:40:34.440486Z","from":"CISA ADP","provenance":"source"},"nvdStatus":"Received","description":{"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.","provenance":"source","from":"NVD"},"summary":{"text":"ThinkPHP versions 5.0.0 before 5.0.24 contain a code injection flaw in the Request component (Request.php), where the _method parameter can be set to __construct to overwrite the Request filter property. An unauthenticated attacker with network access can send crafted POST requests to routes such as ?s=captcha or ?s=index/index/index, setting the filter and server values to run arbitrary system commands, with no user interaction or configuration required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T05:32:25Z"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"NVD"},"epss":{"score":0.00679,"percentile":0.53291,"date":"2026-11-20","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2026-11-18","exploitedFirstSeen":"2026-11-18","ransomware":false,"evidence":[{"url":"https://www.cve.org/CVERecord?id=CVE-2019-25782","date":"2026-11-18"},{"url":"https://www.vulncheck.com/advisories/thinkphp-5.0.0-5.0.24-rce-via-method-construct-in-request-php","date":"2026-11-18"}],"evidenceTotal":2,"provenance":"source"},"exploited":true,"otx":{"pulseCount":1,"pulses":[{"name":"Known_Cve | Nov 19, 2026 | Part 2/3","url":"https://otx.alienvault.com/pulse/6afeb7d9814dde14d2b906db","created":"2026-11-19"}],"provenance":"machine"},"cwes":[{"id":"CWE-470","name":"Use of Externally-Controlled Input to Select Classes or Code"}],"references":[{"url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/thinkphp/thinkphp-5023-rce.yaml","tags":["technical-description"]},{"url":"https://github.com/top-think/framework/commit/4a4b5e64fa4c46f851b4004005bff5f3196de003","tags":["patch"]},{"url":"https://github.com/vulhub/vulhub/tree/master/thinkphp/5.0.23-rce","tags":["technical-description","exploit"]},{"url":"https://packetstorm.news/files/id/157218/","tags":["exploit"]},{"url":"https://www.exploit-db.com/exploits/46150","tags":["exploit"]},{"url":"https://www.vulncheck.com/advisories/thinkphp-5.0.0-5.0.23-rce-via-method-construct-in-request-php","tags":["third-party-advisory"]},{"url":"https://www.vulncheck.com/advisories/thinkphp-5.0.0-5.0.24-rce-via-method-construct-in-request-php","tags":["third-party-advisory"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2019-20219","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2019-20219","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":null,"exploitRefs":["https://github.com/vulhub/vulhub/tree/master/thinkphp/5.0.23-rce","https://packetstorm.news/files/id/157218/","https://www.exploit-db.com/exploits/46150"],"flow":[],"timeline":[{"date":"2026-11-18","kind":"published","label":"Published (NVD)","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-25782","provenance":"source"},{"date":"2026-11-18","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://www.cve.org/CVERecord?id=CVE-2019-25782","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":68.2,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":10.0,"detail":"added 3 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":10.66,"detail":"percentile 0.5329"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"3 references tagged Exploit"},{"name":"Mentioned in OTX pulses","points":0.68,"detail":"1 pulse"},{"name":"CVSS severity","points":6.86,"detail":"base score 9.8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}