Skip to content
EXYS
Back to the CVEs

CVE-2012-20007

9.8, critical

TopThink ThinkPHP Eval Injection Vulnerability

CVSS
9.8, critical critical CVSS v3.1
EPSS, next 30 days
n/a
Exploitation
No public evidence
Published
18 Nov 2026yesterday

Description

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.

Details

Vendor
TopThink
Product
ThinkPHP
Weakness
CWE-95 (opens in a new tab)
Status
Received
Updated
18 Nov 2026
Assigner
disclosure@vulncheck.com

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References 4

The kind is read from NVD's tags where present and from the shape of the URL otherwise, so treat it as a hint.

Beyond this page

Is CVE-2012-20007 in your network?

This page tells you how dangerous CVE-2012-20007 is out there. Whether it sits on one of your devices, only a scan of your own network can tell. That is what our systems do, every day, for the companies we protect.

  • EXYS7600 OCELOT

    Find it before attackers do

    Ocelot scans your network on a schedule and reports every vulnerability it finds by its CVE identifier, with its CVSS score and how many of your hosts are affected. A finding like CVE-2012-20007 comes with the devices to patch.

    Learn more about EXYS7600 OCELOT
  • EXYS7950 KONDRA

    Detect it if it's exploited

    Until the patch is applied, Kondra monitors your network, events and endpoints in real time. It keeps an inventory of the software installed on every endpoint, and its anomaly detection rules flag what an attacker does once inside.

    Learn more about EXYS7950 KONDRA
Check your exposure

Assembled from the NVD 2.0 API, the CISA Known Exploited Vulnerabilities Catalog and FIRST EPSS. Scores are as of our last collection on 19 Nov 2026, not the live upstream state.