CVE-2025-63889 Path traversal in n/a

High 7.5 Published Updated

Attackers can read arbitrary files via crafted template paths in ThinkPHP, potentially exposing sensitive data.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-63889?

CVE-2025-63889 is a high-severity path traversal vulnerability in n/a, published on 20 Nov 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-125

Which versions are affected by CVE-2025-63889?

It affects 1 product.

Products include Thinkphp Thinkphp.

How do I fix CVE-2025-63889?

No fix has been published for CVE-2025-63889 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2025-63889 being exploited?

There is no known exploitation of CVE-2025-63889 in the wild and no public exploit code.

Sources

Also known as GHSA-gg35-v6g4-rw3c.

Is CVE-2025-63889 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free