CVE-2025-50706
CVE-2025-50706 is a critical-severity vulnerability in Thinkphp with a CVSS 3.x base score of 9.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-94.
Key facts
- Severity: Critical (CVSS 3.x base score 9.8)
- EPSS exploit prediction: 1% (61st percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-23628
- Weakness: CWE-94
- Affected product: Thinkphp
- Published:
- Last modified:
Description
An issue in thinkphp v.5.1 allows a remote attacker to execute arbitrary code via the routecheck function
Frequently asked questions
- What is CVE-2025-50706?
- An issue in thinkphp v.5.1 allows a remote attacker to execute arbitrary code via the routecheck function
- How severe is CVE-2025-50706?
- CVE-2025-50706 has a CVSS 3.x base score of 9.8, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2025-50706 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (61st percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-50706?
- CVE-2025-50706 affects Thinkphp. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2025-50706?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- Does CVE-2025-50706 have an EU (EUVD) identifier?
- Yes. CVE-2025-50706 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-23628.
- When was CVE-2025-50706 published?
- CVE-2025-50706 was published on 2025-08-05 and last updated on 2026-06-17.
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
- https://xinyisleep.github.io/CVE-2025-50706.md
Affected products (1)
- cpe:2.3:a:thinkphp:thinkphp:5.1.0:-:*:*:*:*:*:*
More vulnerabilities in Thinkphp
- CVE-2018-25270 — Critical (CVSS 9.8): ThinkPHP 5.0.23 contains a remote code execution vulnerability that allows unauthenticated attackers to execute…
- CVE-2025-63888 — Critical (CVSS 9.8): The read function in file thinkphp\library\think\template\driver\File.php in ThinkPHP 5.0.24 contains a remote code…
- CVE-2025-50707 — Critical (CVSS 9.8): An issue in thinkphp3 v.3.2.5 allows a remote attacker to execute arbitrary code via the index.php component
- CVE-2024-48112 — Critical (CVSS 9.8): A deserialization vulnerability in the component \controller\Index.php of Thinkphp v6.1.3 to v8.0.4 allows attackers to…
- CVE-2024-44902 — Critical (CVSS 9.8): A deserialization vulnerability in Thinkphp v6.1.3 to v8.0.4 allows attackers to execute arbitrary code.
- CVE-2022-45982 — Critical (CVSS 9.8): thinkphp 6.0.0~6.0.13 and 6.1.0~6.1.1 contains a deserialization vulnerability. This vulnerability allows attackers to…
Other CWE-94 (Code Injection) vulnerabilities
- CVE-2026-76605 — Critical (CVSS 10.0): Joomla Extension - fabrikar.com - Remote code execution via image element in Fabrik < 4.7.3 - ???.
- CVE-2026-76604 — Critical (CVSS 10.0): Joomla Extension - fabrikar.com - Unauthenticated remote code execution via PHP form element in Fabrik < 4.7.3 - The…
- CVE-2026-67364 — Critical (CVSS 10.0): Joomla Extension - balbooa.com - Pre-auth PHP Code Injection in Balbooa Forms < 2.4.3.2 - CWE-94 / CWE-95 | CVSS 3.1:…
- CVE-2026-73343 — Critical (CVSS 10.0): Unauthenticated Remote Code Execution (RCE) in WP Compress < 7.20.01 versions.
- CVE-2026-74253 — Critical (CVSS 10.0): Joomla Extension - regularlabs.com - Unauthenticated RCE through unverified reflected user input in Sourcerer < 14.0.0…
- CVE-2026-73678 — Critical (CVSS 10.0): MindsDB Minds Platform version 26.1.0 and earlier contains an unauthenticated remote code execution vulnerability that…