CVE-2025-63888 Details
Description
The read function in file thinkphp\library\think\template\driver\File.php in ThinkPHP 5.0.24 contains a remote code execution vulnerability.
A remote code execution vulnerability has been identified in ThinkPHP version 5.0.24. The issue arises in the template file driver, specifically within the read function of File.php. The vulnerability allows attackers to execute arbitrary PHP code by exploiting the view() function's file inclusion mechanism. By uploading a malicious file, such as an image containing PHP code, and manipulating the template path, an attacker can achieve remote code execution.
Users are advised to update to a version of ThinkPHP that has addressed this vulnerability. Additionally, strict path validation should be implemented in the view() function to block directory traversal characters and restrict template paths to legitimate directories.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Nov 20, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gist.github.com/Master-0-0/0bf54cbb335b586b42b0db0db804e7aa | [email protected] | MitigationThird Party Advisory |
| https://www.yuque.com/lcc316/df0kgm/mglhbxltgbmzfh2s | [email protected] | Permissions Required |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-98 | Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| thinkphp thinkphp | 5.0.24 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 5, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 25, 2025 | Initial Analysis | [email protected] |
| Nov 21, 2025 | CVE Modified | CISA-ADP |
| Nov 20, 2025 | CVE Modified | CISA-ADP |
| Nov 20, 2025 | New CVE Received | [email protected] |