{"id":"CVE-2019-25782","aliases":[],"title":"ThinkPHP 5.0.0 < 5.0.24 RCE via _method construct in Request.php","originalDescription":"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.","severity":{"cvss":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","label":"critical"},"exploitation":{"kev":null,"epss":{"score":0.02195,"percentile":0.83112},"exploitDb":"46150"},"affected":[{"ecosystem":"vendor","name":"ThinkPHP","range":">=5.0.0, <5.0.24","fixed":"5.0.24"}],"references":[{"url":"https://github.com/top-think/framework/commit/4a4b5e64fa4c46f851b4004005bff5f3196de003","type":"patch"},{"url":"https://github.com/vulhub/vulhub/tree/master/thinkphp/5.0.23-rce","type":"technical-description"},{"url":"https://www.exploit-db.com/exploits/46150","type":"exploit"},{"url":"https://packetstorm.news/files/id/157218/","type":"exploit"},{"url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/thinkphp/thinkphp-5023-rce.yaml","type":"technical-description"},{"url":"https://www.vulncheck.com/advisories/thinkphp-5.0.0-5.0.23-rce-via-method-construct-in-request-php","type":"third-party-advisory"},{"url":"https://www.vulncheck.com/advisories/thinkphp-5.0.0-5.0.24-rce-via-method-construct-in-request-php","type":"third-party-advisory"}],"sources":[{"name":"nvd","at":"2026-11-18T18:42:51.817Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-25782","license":"NVD terms of use","firstSeenAt":"2026-11-18T16:30:56.967Z"},{"name":"osv","at":"2026-11-20T00:29:31.790Z","url":"https://osv.dev/vulnerability/CVE-2019-25782","license":"CC-BY 4.0","firstSeenAt":"2026-11-19T23:23:19.928Z"},{"name":"cvelistV5","at":"2026-11-19T22:19:18.619Z","url":"https://www.cve.org/CVERecord?id=CVE-2019-25782","license":"CVE Terms of Use","firstSeenAt":"2026-11-18T15:55:17.381Z"}],"firstSeenAt":"2026-11-18T15:55:17.381Z","publishedAt":"2026-11-18T15:35:18.909Z","modifiedAt":"2026-11-19T23:01:15.327Z"}