Skip to main content
VulnerabilityPublished

CVE-2025-63889: thinkphp · Out-of-bounds Read

Affects thinkphpSource CVE Database V5

0

Not known to be exploited · CVSS 7.5 High.

Data as of 26 Oct 2026, 10:12 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Nov 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Packagisttopthink/thinkphppkg:composer/topthink/thinkphpOther threatsAffected
  • =5.0.24
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

  1. Immediately upgrade ThinkPHP to a version where this vulnerability is patched once available. Monitor official ThinkPHP security advisories for updates.
  2. 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 '../'.
  3. 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.
  4. Employ web application firewalls (WAFs) with rules designed to detect and block suspicious path traversal attempts targeting template parameters.
  5. Conduct thorough code reviews and penetration testing focusing on template handling and file inclusion mechanisms.
  6. Monitor logs for unusual file access patterns or repeated attempts to access non-standard template paths.
  7. 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.

References

Community reviews

Loading reviews…