CVE-2025-63889: The fetch function in file thinkphp\library\think\Template.php in ThinkPHP 5.0.24 allows attackers to read arb
CVE-2025-63889 is a high-severity flaw (CVSS 7.5) affecting thinkphp. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
The fetch function in file thinkphp\library\think\Template.php in ThinkPHP 5.0.24 allows attackers to read arbitrary files via crafted file path in a template value.
Why this priority
- High severity
- Remotely exploitable, no login, no user action
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 7.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.3% (top 75%) |
| CISA exploited list | No |
| Weakness | CWE-125 |
| Published | 2025-11-20 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2025-63889?
thinkphp: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2025-63889 being exploited?
CVE-2025-63889 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2025-63889 affect?
CVE-2025-63889 affects thinkphp. Severity is high (CVSS 7.5). The fetch function in file thinkphp\library\think\Template.php in ThinkPHP 5.0.24 allows attackers to read arbitrary files via crafted file path in a template value.
How urgent is CVE-2025-63889?
Priority 38/100. High severity; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2024-44902 CRITICAL 9.8 UPGRADE A deserialization vulnerability in Thinkphp v6.1.3 to v8.0.4 allows attackers to execute arbitrary code.
- CVE-2025-63888 CRITICAL 9.8 DOWNGRADE The read function in file thinkphp\library\think\template\driver\File.php in ThinkPHP 5.0.24 contains a remote
- CVE-2025-50707 CRITICAL 9.8 DOWNGRADE An issue in thinkphp3 v.3.2.5 allows a remote attacker to execute arbitrary code via the index.php component
- CVE-2025-50706 CRITICAL 9.8 DOWNGRADE An issue in thinkphp v.5.1 allows a remote attacker to execute arbitrary code via the routecheck function
- CVE-2024-48112 CRITICAL 9.8 UPGRADE A deserialization vulnerability in the component \controller\Index.php of Thinkphp v6.1.3 to v8.0.4 allows att