Vulnerabilities

Vulnerability · CVE-2018-25270

ThinkPHP ThinkPHP Authorization Bypass Through User-Controlled Key

Published Apr 22, 2026 · catalog updated Jun 17, 2026 · ThinkPHP ThinkPHP

Patch now

CVE-2018-25270 is in the CISA known-exploited catalog. Confirm ThinkPHP ThinkPHP against the vendor advisory and apply that fix. The CVSS score does not change the priority.

Severity
Critical9.3
Known exploitation
CISA KEV and VulnCheck KEV
EPSS
0.89%
Remediation
Remediation guidance
Affected products
cpe thinkphp/thinkphp · vendor ThinkPHP ThinkPHP

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.

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • cpe thinkphp/thinkphp5.1.31
  • vendor ThinkPHP ThinkPHPversion unspecified

How to fix CVE-2018-25270

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

CVE-2018-25270 is in the CISA known-exploited catalog. Confirm ThinkPHP ThinkPHP against the vendor advisory and apply that fix. The CVSS score does not change the priority.

Which versions are affected?

Compare what you have installed with 5.1.31. Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.

What should an analyst verify?

CWE-639: Authorization Bypass Through User-Controlled Key. EPSS 0.89%. The CISA KEV listing is the exploitation evidence. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Code

The project this record applies to. Exploit listings stay in References.

Timeline

Detection, updates, and resolution for this record.

  1. Apr 22, 2026 · NIST NVD

    Detected

    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.

  2. Jun 4, 2026 · CISA KEV

    Known exploited

    Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.

  3. Jun 17, 2026 · NIST NVD

    Updated

    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.

Sources

  • CVE.orgVulnerability recordCVE-2018-25270

    Official CVE identifier

    cve.org
  • FIRST EPSSExploitation probabilityCVE-2018-25270

    30-day exploitation probability 0.9%

    first.org
  • NIST NVDVulnerability recordCVE-2018-25270

    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 exe

    nvd.nist.gov
  • VulnCheck KEVConfirmed exploitationCVE-2018-25270

    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 exe

    vulncheck.com

References

Freshness

Last verified in this catalog Oct 17, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.