Vulnerability · CVE-2018-25270
ThinkPHP ThinkPHP Authorization Bypass Through User-Controlled Key
Published Apr 22, 2026 · corrected/updated Jun 17, 2026 · ThinkPHP ThinkPHP · evidence confidence very high
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.
Grounded briefings
Catalog interpretations for three audiences. Each brief cites ingested metadata and the original advisories below. They are not independent research and they do not invent exploit steps.
Executive
CVE-2018-25270 is a critical public vulnerability record for ThinkPHP ThinkPHP. CISA lists it as known exploited. Published remediation guidance: Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable. This summary is a catalog interpretation of the ingested metadata and cites the original advisories below.
System administrator
Identify whether ThinkPHP ThinkPHP is in your estate, then compare installed versions with the affected ranges. Affected packages or ranges on record: thinkphp/thinkphp; thinkphp/thinkphp (5.1.31); ThinkPHP ThinkPHP. Published remediation guidance: Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable. Prefer the vendor or distribution advisory linked in Sources before changing production systems. This is a catalog interpretation, not a runbook.
Security analyst
Signals on file: CVSS 9.3 (technical impact); EPSS 0.9% (30-day exploitation probability). CISA lists it as known exploited. Weakness classes: CWE-639. Sources contributing to this record: cve_org, epss, nvd, vulncheck_kev. Public exploit references, when present, are outbound links only and are not proof of active exploitation. This is a catalog interpretation of stored metadata.
Exploitation and remediation
Exploitation evidence
Confirmed in CISA KEV since Jun 4, 2026. Listed in CISA KEV and VulnCheck KEV.
Patch and remediation
Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.
Safe detection guidance
Compare installed versions with the affected ranges below and verify the advisory from the original publisher. This site stores metadata and outbound links only; it does not ship exploit code or proof-of-concept payloads.
Code
The project this record applies to. Exploit listings stay in References.
Timeline
Detection, updates, and resolution for this record.
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.
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.
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.
Affected
- cpe thinkphp/thinkphpversion unspecified
- cpe thinkphp/thinkphp5.1.31
- vendor ThinkPHP ThinkPHPversion unspecified
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