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.
References (2)
Core 2
Core References
Mitigation, Third Party Advisory
https://gist.github.com/Master-0-0/dd63209602f04267f1a27a75a064df26
Permissions Required
https://www.yuque.com/lcc316/df0kgm/xqkrw5rfz5vqxo9t
Scores
CVSS v3
7.5
EPSS
0.0004
EPSS Percentile
13.3%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-125
Status
published
Products (1)
thinkphp/thinkphp
5.0.24
Published
Nov 20, 2025
Tracked Since
Feb 18, 2026