Vulnerabilities · 2025 · Thinkphp
CVE-2025-50706
Thinkphp vulnerability
An issue in thinkphp v.5.1 allows a remote attacker to execute arbitrary code via the routecheck function
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Thinkphp. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Thinkphp runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- xinyisleep.github.io/2024-04-24/Thinkphp5.1%E6%96%87%E4%BB%B6%E5%8C%85%E5%90%AB-CNVD-2024- · Exploit
- xinyisleep.github.io/CVE-2025-50706.md · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2025-50706
- github.com/advisories/GHSA-mrwc-mvr8-9xq5
- nvd.nist.gov/vuln/detail/CVE-2025-50706
- cve.org/CVERecord?id=CVE-2025-50706
More vulnerabilities in Thinkphp products
CVE-2025-63889CVE-2025-63888CVE-2025-50707CVE-2024-48112CVE-2024-44902CVE-2024-34467CVE-2022-47945CVE-2022-45982All 26
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.