CVE-2025-50706
9.8critical
ThinkPHP Path Traversal Vulnerability
- Severity
- 9.8critical CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 1.19% (higher than 68% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-mrwc-mvr8-9xq5
Description
An issue in thinkphp v.5.1 allows a remote attacker to execute arbitrary code via the routecheck function
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| topthink/framework (Packagist) | up to 5.1.41 | GitHub Advisory Database |
| thinkphp thinkphp | 5.1.0 | NVD |
All scores
| CISA-ADP | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | critical CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
Classification
What each source says
CVE List
An issue in thinkphp v.5.1 allows a remote attacker to execute arbitrary code via the routecheck function
GitHub Advisory Database
An issue in ThinkPHP Framework v.5.1 allows a remote attacker to execute arbitrary code via the routecheck function.
NVD (es)
Un problema en thinkphp v.5.1 permite que un atacante remoto ejecute código arbitrario a través de la función routecheck
References
| https://xinyisleep.github.io/2024-04-24/Thinkphp5.1%E6%96%87%E4%BB%B6%E5%8C%85%E5%90%AB-CNVD-2024-29981 | exploit, third-party-advisory, web | |
| https://xinyisleep.github.io/CVE-2025-50706.md | third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-50706 | advisory | |
| https://github.com/top-think/framework | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-50706 changed 2025-08-05 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-mrwc-mvr8-9xq5 changed 2025-08-05 | CC-BY-4.0 |
| NVD | CVE-2025-50706 changed 2026-06-17 | Public domain |