{"id":"CVE-2019-25782","aliases":["CVE-2019-25782"],"related":[],"kind":"vulnerability","state":"published","title":"ThinkPHP 5.0.0 < 5.0.24 RCE via _method construct in Request.php","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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-11-18T15:35:18.909Z","modified":"2026-11-18T18:17:32.423Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":9.3,"rating":"CRITICAL"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":9.3,"rating":"CRITICAL"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-470"],"affected":[{"ranges":[{"type":"custom","introduced":"5.0.0","fixed":"5.0.24","status":"affected"}],"vendor":"TopThink","product":"ThinkPHP","source":"cvelist"}],"references":[{"url":"https://github.com/top-think/framework/commit/4a4b5e64fa4c46f851b4004005bff5f3196de003","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/vulhub/vulhub/tree/master/thinkphp/5.0.23-rce","tags":["exploit","technical-description"],"sources":["cvelist","nvd"]},{"url":"https://www.exploit-db.com/exploits/46150","tags":["exploit"],"sources":["cvelist","nvd"]},{"url":"https://packetstorm.news/files/id/157218/","tags":["exploit"],"sources":["cvelist","nvd"]},{"url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/thinkphp/thinkphp-5023-rce.yaml","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/thinkphp-5.0.0-5.0.23-rce-via-method-construct-in-request-php","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/thinkphp-5.0.0-5.0.24-rce-via-method-construct-in-request-php","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["The Shadowserver Foundation"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2026-11-18T17:40:34.440Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2019-25782","url":"https://www.cve.org/CVERecord?id=CVE-2019-25782","licence":"CVE Terms of Use","modified":"2026-11-18T17:48:13.011Z"},{"source":"nvd","name":"NVD","id":"CVE-2019-25782","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-25782","licence":"Public domain","modified":"2026-11-18T18:17:32.423Z"}],"updatedAt":"2026-11-25T22:57:50.476Z","epss":{"score":0.02195,"percentile":0.83014,"date":"2026-12-02T12:00:21.000Z"}}