Thinkphp vulnerabilities
We track 7 vulnerabilities in Thinkphp products. 7 are rated high or critical, and 1 has been exploited in real attacks. The most recent was published on November 20, 2025.
Latest Thinkphp vulnerabilities
- 7.5 High severity
Thinkphp: Out-of-bounds Read
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.
- 9.8 Critical severity
Thinkphp: Deserialization of Untrusted Data
thinkphp 6.0.0~6.0.13 and 6.1.0~6.1.1 contains a deserialization vulnerability. This vulnerability allows attackers to execute arbitrary code via a crafted payload.
- 9.8 Critical severity
Thinkphp: Improper Limitation of a Pathname to a Restricted Directory
ThinkPHP Framework before 6.0.14 allows local file inclusion via the lang parameter when the language pack feature is enabled (lang_switch_on=true). An unauthenticated and remote attacker can exploit this to execute arbitrary operating system commands, as demo
- 9.8 Critical severity
Thinkphp: Deserialization of Untrusted Data
ThinkPHP v6.0.13 was discovered to contain a deserialization vulnerability via the component League\Flysystem\Cached\Storage\Psr6Cache. This vulnerability allows attackers to execute arbitrary code via a crafted payload.
- 9.8 Critical severity
Thinkphp: Deserialization of Untrusted Data
ThinkPHP v6.0.12 was discovered to contain a deserialization vulnerability via the component vendor\league\flysystem-cached-adapter\src\Storage\AbstractCache.php. This vulnerability allows attackers to execute arbitrary code via a crafted payload.
- 7.5 High severity
thinkphp: Exposure of Resource to Wrong Sphere
ThinkPHP Framework v5.0.24 was discovered to be configured without the PATHINFO parameter. This allows attackers to access all system environment parameters from index.php. NOTE: this is disputed by a third party because system environment exposure is an inten
- 8.8 High severity
ThinkPHP Remote Code Execution Exploited
ThinkPHP before 3.2.4, as used in Open Source BMS v1.1.1 and other products, allows Remote Command Execution via public//?s=index/\think\app/invokefunction&function=call_user_func_array&vars[0]=system&vars[1][]= followed by the command.