TopThink · ThinkPHP · CWE-95 · published 2026-11-18
CVE-2012-20007ThinkPHP 2.x / 3.0 Lite Unauthenticated RCE via Dispatcher PATH_INFO
Routine No exploitation evidence; EPSS 0.5%.
CVE-2012-20007 is not known to be exploited in the wild. EPSS estimates a 0.5% chance of exploitation in the next 30 days, higher than 45% of all CVEs. This ThinkPHP vulnerability: CVSS 9.3 (v4.0). Routine: patch when convenient.
Jump to: Remediation Exploit intelAffected versionsDescription
Remediation#
No fixed version is recorded here yet. Check the vendor advisory linked from the CVE record below.
Exploit intelligence#
| Signal | Value | Source |
|---|---|---|
| Known exploited | No | CISA KEV |
| Ransomware use | — | CISA KEV |
| EPSS (30-day exploitation probability) | 0.5% (45th pct) | FIRST EPSS v2026.06.15 |
| CVSS base score | 9.3 (v4.0)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 | CNA / CISA ADP |
| SSVC exploitation | — | CISA Vulnrichment |
| SSVC automatable | — | CISA Vulnrichment |
| SSVC technical impact | — | CISA Vulnrichment |
Weakness: CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code
Affected versions (from the CVE record)#
- TopThink ThinkPHP
2.0through2.2(affected)3.0(affected)
Description (from the CVE record)#
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. Unauthenticated attackers can send crafted requests to index.php with a malicious 's' parameter containing PHP expressions to execute arbitrary code on the server. Exploitation evidence was first observed by the Shadowserver Foundation on 2023-10-14.
Quoted from the CVE Program record.