# CVE-2018-25270

> Vulnerability · severity: **CRITICAL** (CVSS 9.8).

## Description

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.

## Key facts

- **CVE ID:** CVE-2018-25270
- **Published:** 2026-04-22
- **CVSS severity:** CRITICAL
- **CVSS base score:** 9.8
- **CWE codes:** CWE-639

## Affected products

- `thinkphp:thinkphp`

## Primary sources

- NIST NVD: https://nvd.nist.gov/vuln/detail/CVE-2018-25270

## Citation

> AI Analytics. CVE-2018-25270. Retrieved 2026-06-26 from https://api.ai-analytics.org/cve/CVE-2018-25270. Derived from NIST NVD. Licensed CC0.

---

*[Dataset catalog](https://api.ai-analytics.org/datasets/) · [AI Analytics](https://api.ai-analytics.org/) · CC0 1.0*