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.
CVSS 4.0CRITICAL 9.3·Network·No auth·No interaction·EPSS 0.02195·Published 2026-11-18·Fixed in 5.0.24CWE-470
ThinkPHP 2.0 through 2.2 and 3.0 Lite mode contains an eval injection vulnerability in the Dispatcher PATH_INFO parsing, which uses preg_replace with the /e modifier and a double-quoted replacement.