CVE-2025-50707
CVE-2025-50707 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% (60th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-23627
- Weakness: CWE-94
- Affected product: Thinkphp
- Published:
- Last modified:
Description
An issue in thinkphp3 v.3.2.5 allows a remote attacker to execute arbitrary code via the index.php component
Frequently asked questions
- What is CVE-2025-50707?
- An issue in thinkphp3 v.3.2.5 allows a remote attacker to execute arbitrary code via the index.php component
- How severe is CVE-2025-50707?
- CVE-2025-50707 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-50707 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (60th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-50707?
- CVE-2025-50707 affects Thinkphp. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2025-50707?
- 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-50707 have an EU (EUVD) identifier?
- Yes. CVE-2025-50707 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-23627.
- When was CVE-2025-50707 published?
- CVE-2025-50707 was published on 2025-08-05 and last updated on 2026-06-17.
References
- https://xinyisleep.github.io/2024-07-15/Thinkphp3.%E6%96%87%E4%BB%B6%E5%8C%85%E5%90%AB-CNVD-2024-39045
- https://xinyisleep.github.io/CVE-2025-50707.md
Affected products (1)
- cpe:2.3:a:thinkphp:thinkphp:3.2.5:*:*:*:*:*:*:*
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-50706 — Critical (CVSS 9.8): An issue in thinkphp v.5.1 allows a remote attacker to execute arbitrary code via the routecheck function
- 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-57624 — Critical (CVSS 10.0): Unauthenticated Remote Code Execution (RCE) in Blocksy Companion Pro <= 2.1.46 versions.
- CVE-2026-10134 — Critical (CVSS 10.0): IBM Langflow OSS 1.0.0 through 1.9.3 allows an attacker to read every secret available to the Langflow process, read…
- CVE-2026-53576 — Critical (CVSS 10.0): Kestra is an open-source, event-driven orchestration platform. Prior to 1.0.45 and 1.3.21, the authentication filter…
- CVE-2026-10561 — Critical (CVSS 10.0): IBM Langflow OSS 1.0.0 through 1.9.3 has an vulnerability due to an improper isolation of Python execution combined…
- CVE-2026-25470 — Critical (CVSS 10.0): Improper Control of Generation of Code ('Code Injection') vulnerability in ACPT ACPT (Pro) - Custom Post Types Plugin…
- CVE-2026-48836 — Critical (CVSS 10.0): Unauthenticated Remote Code Execution (RCE) in Easy Invoice <= 2.1.19 versions.