CVE-2025-50707: ThinkPHP - Remote Code Execution
- Cve: CVE-2025-50707
- Name: ThinkPHP - Remote Code Execution
- Description: An issue in thinkphp3 v.3.2.5 allows a remote attacker to execute arbitrary code via the index.php component
- Impact: Remote attackers can execute arbitrary code, potentially leading to full system compromise.
- Remediation: Update to the latest version of ThinkPHP.
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.01192
- Epss percentile: 0.68791
- Assignee: [email protected]
- Published at: 2025-08-05T15:15:30Z
- Age in days: 476
- Modified at: 2026-06-17T09:35:19Z
- Public exploits total: 1
- References total: 2
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-50707
- Nvd status: analyzed
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: vulnerability type, requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-94 | Improper Control of Generation of Code |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://xinyisleep.github.io/2024-07-15/Thinkphp3.%E6%96%87%E4%BB%B6%E5%8C%85%E5%90%AB-CNVD-2024-39045 | nvd | 2025-08-05 |
References
| Url | Source | Tags |
|---|---|---|
| https://xinyisleep.github.io/2024-07-15/Thinkphp3.%E6%96%87%E4%BB%B6%E5%8C%85%E5%90%AB-CNVD-2024-39045 | nvd | Exploit, Third Party Advisory |
| https://xinyisleep.github.io/CVE-2025-50707.md | nvd | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| thinkphp:thinkphp | = 3.2.5 | no | nvd | /v1/products/thinkphp/thinkphp |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2025-08-05
- Remote: yes
- Exposed hosts: 41965
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports