CVE-2025-63889: thinkphp · Out-of-bounds Read
Affects thinkphpSource CVE Database V5
Not known to be exploited · CVSS 7.5 High.
Data as of 26 Oct 2026, 14:05 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 25% 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:N/A:NExploitation 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
- Immediately upgrade ThinkPHP to a version where this vulnerability is patched once available. Monitor official ThinkPHP security advisories for updates.
- Until a patch is released, implement strict input validation and sanitization on all user-supplied template path parameters to prevent directory traversal sequences such as '../'.
- Configure web server and application permissions to restrict the template directory and other sensitive file system locations, ensuring the web application user has minimal read access only to necessary files.
- Employ web application firewalls (WAFs) with rules designed to detect and block suspicious path traversal attempts targeting template parameters.
- Conduct thorough code reviews and penetration testing focusing on template handling and file inclusion mechanisms.
- Monitor logs for unusual file access patterns or repeated attempts to access non-standard template paths.
- Consider isolating web application environments and using containerization to limit the blast radius of potential file disclosure.
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.