Cyber & AI intelligence
Briefs indexed3924
Issues37
Published Mondays07:30 CT
⚡ Active KEV CVE-2012-20007 2026-11-19

CVE-2012-20007: Unauthenticated RCE via Eval Injection in Legacy ThinkPHP

"CVE-2012-20007 is a critical eval injection flaw in ThinkPHP 2.0 through 2.2 and 3.0 Lite mode that lets unauthenticated attackers run arbitrary PHP code on the server; the Shadowserver Foundation first observed…"

CVE-2012-20007 is a critical eval injection flaw in ThinkPHP 2.0 through 2.2 and 3.0 Lite mode that lets unauthenticated attackers run arbitrary PHP code on the server; the Shadowserver Foundation first observed exploitation evidence on 2023-10-14.

What Is It

The vulnerability is in ThinkPHP's Dispatcher PATH_INFO parsing. That code calls preg_replace with the /e modifier and a double-quoted replacement string. Because of this, attacker-controlled input can be evaluated as PHP. An unauthenticated attacker can send a crafted request to index.php with a malicious s parameter that contains PHP expressions, and the server will execute that code.

The weakness is classified as CWE-95 (Eval Injection). VulnCheck assigned the CVE and published the record on 2026-11-18. Its NVD status is currently "Received."

Why It Matters

What's Vulnerable

The NVD record lists no affected CPEs.

Patch Status

The record lists no vendor patch or fixed version. Organizations still running ThinkPHP 2.x or 3.0 Lite should treat those deployments as exposed to unauthenticated remote code execution. Review the VulnCheck advisory below for current remediation guidance.

Sources