CVE-2025-63888: thinkphp · PHP Remote File Inclusion
Affects thinkphpSource CVE Database V5
Not known to be exploited · CVSS 9.8 Critical.
Data as of 26 Oct 2026, 11:42 UTC
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 48% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 20 Nov 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Packagisttopthink/thinkphppkg:composer/topthink/thinkphpOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
- Monitor official ThinkPHP channels and security advisories for patches addressing CVE-2025-63888 and apply them immediately upon release.
- Until patches are available, restrict file system permissions for the web server user to limit access to critical directories and files, minimizing potential damage.
- Employ Web Application Firewalls (WAFs) with custom rules to detect and block suspicious requests targeting the vulnerable read function or unusual file inclusion patterns.
- Conduct code audits and review any custom template handling code to ensure proper input validation and sanitization.
- Implement network segmentation to isolate web servers from sensitive backend systems, reducing lateral movement risk.
- Enable detailed logging and monitoring to detect anomalous activities indicative of exploitation attempts.
- Educate development and security teams about the risks of improper file handling and secure coding practices to prevent similar vulnerabilities.
Description
The read function in file thinkphp\library\think\template\driver\File.php in ThinkPHP 5.0.24 contains a remote code execution vulnerability.