CVE-2025-66905 Path traversal in n/a

High 7.5 Published Updated

Remote attackers can read arbitrary files from the host system by exploiting path traversal in the Takes web framework.

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-66905?

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

Official description

The Takes web framework's TkFiles take thru 2.0-SNAPSHOT fails to canonicalize HTTP request paths before resolving them against the filesystem. A remote attacker can include ../ sequences in the request path to escape the configured base directory and read arbitrary files from the host system.

Weakness: CWE-22

Which versions are affected by CVE-2025-66905?

It affects 1 product.

Products include Takes Tkfiles.

How do I fix CVE-2025-66905?

No fix has been published for CVE-2025-66905 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-66905 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-66905 exists.

Sources

Also known as GHSA-pf68-273c-7668.

Is CVE-2025-66905 in your software?

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

Check your SBOMs for free