patchminder
Weaponized · Nuclei CVE-2018-25270

Remote code executionin ThinkPHP.

Published 22 Apr 2026 · Updated 22 Apr 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Weaponized: a Nuclei exploit is public.

Attack code is public
Severity
Critical 9.8
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · no login needed
Attack likelihood
Moderate
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 5.9% chance in 30 days · 4 Dec 2026
Fix
Not confirmed
No source names a fixed version yet
In plain words

ThinkPHP 5.0.23 contains a remote code execution vulnerability that allows unauthenticated attackers to execute arbitrary PHP code by invoking functions through the routing parameter. Attackers can craft requests to the index.php endpoint with malicious function parameters to execute system commands with application privileges.

What to do now
  • No source names a fix yet. Watch this page or the product for updates; we never guess a fixed version.

Not confirmed by any source yet: fixed version not confirmed. We show these as not confirmed instead of guessing.

Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
ThinkPHP
5.0.23
Not confirmed
CVE record
ThinkPHP
5.1.31
Not confirmed
CVE record

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 22 Apr 2026
    CVE ID reserved by VulnCheck.
  2. 22 Apr 2026
    Published in the CVE List.
  3. 22 Apr 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Weaponized (Nuclei). CISA assessment (SSVC): exploitation poc.

Metasploit module
None known
Nuclei scan template
Available
Exploit-DB
1 entry
GitHub proof of concepts
None known
NucleiThinkPHP 5.0.x < 5.0.23 · Remote Code Executiondetection templateLinked once a fix or workaround is known.
Exploit-DBEDB-ID 45978web application exploit for php, published 11 Dec 2018Linked once a fix or workaround is known.
Referencewww.exploit-db.comnamed as exploit in the CVE recordLinked once a fix or workaround is known.

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other ThinkPHP vulnerabilities

Same weakness: Authorization bypass through user-controlled key

All CWE-639 vulnerabilities

References
Cite this page

Patchminder. CVE-2018-25270: Remote code execution in ThinkPHP. https://patchminder.com/cve/cve-2018-25270/ (accessed 5 December 2026).