High severity · published Nov 20, 2025
CVE-2025-63889
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
7.5
CVSS
0.3%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 25% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
TH
Thinkphp · Thinkphp
5.0.24 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-63889
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-63889
Mitigation
https://gist.github.com/Master-0-0/dd63209602f04267f1a27a75a064df26
Permissions Required
https://www.yuque.com/lcc316/df0kgm/xqkrw5rfz5vqxo9t
More from Thinkphp
8.8
CVE-2019-9082
ThinkPHP Remote Code Execution Vulnerability
9.8
CVE-2018-25270
ThinkPHP 5.0.23 Remote Code Execution via invokefunction
9.8
CVE-2025-63888
The read function in file thinkphp\library\think\template\driver\File.php in ThinkPHP 5.0.24 contains a remote code execution vulnerability
9.8
CVE-2025-50706
An issue in thinkphp v.5.1 allows a remote attacker to execute arbitrary code via the routecheck function
9.8
CVE-2025-50707
An issue in thinkphp3 v.3.2.5 allows a remote attacker to execute arbitrary code via the index.php component
