CVE-2025-50706
CRITICAL 9.8CVSS 3.1ThinkPHP Path Traversal Vulnerability
An issue in thinkphp v.5.1 allows a remote attacker to execute arbitrary code via the routecheck function
- Published
- 5 Aug 2025
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-22CWE-94
- Also known as
- GHSA-mrwc-mvr8-9xq5
- Sources
- NVDJSONOSV GHSA-mrwc-mvr8-9xq5JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | 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 | |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | thinkphp | thinkphpcpe:2.3:a:thinkphp:thinkphp:5.1.0:-:*:*:*:*:*:* |
= 5.1.0 | |
| OSV | Packagist | topthink/framework | <= 5.1.41 |
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
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 5 Aug 2025)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 5 Aug 2025)