CVE-2025-66905CWE-22path-traversal

CVE-2025-66905

High · published December 19, 2025

CVSS v3.1
7.5
EPSS
1%
Percentile
48.3
In the wild
Unconfirmed
What it is

⚡ A crafty path traversal vulnerability in the Takes web framework means an attacker can snoop through your files like a curious raccoon! 🦝 Think of it like a delivery driver who misreads an address and ends up at the wrong house, peeking through the windows instead of dropping off the package. In this case, the attacker can manipulate the file paths to escape the designated directory, gaining access to sensitive files. An attacker can exploit this flaw to read any file on the system, potentially exposing sensitive information or configuration files. This could lead to a data breach, putting your entire application at risk! If sensitive information falls into the wrong hands, the consequences could be absolutely devastating.

Put simply

Think of it like a delivery driver who misreads an address and ends up at the wrong house, peeking through the windows instead of dropping off the package. In this case, the attacker can manipulate the file paths to escape the designated directory, gaining access to sensitive files. This vulnerability arises from the Takes web framework failing to properly canonicalize HTTP request paths, allowing attackers to include '../' sequences and escape the base directory. This allows unauthorized file access from the host system.

What to do

An attacker can exploit this flaw to read any file on the system, potentially exposing sensitive information or configuration files. This could lead to a data breach, putting your entire application at risk! If sensitive information falls into the wrong hands, the consequences could be absolutely devastating. To mitigate this risk, immediately apply a patch provided by the Takes framework, and ensure that your application properly validates and sanitizes all incoming file paths. Review your file access policies to limit exposure of sensitive files. You've got this! With these steps, you'll fortify your defenses and keep those pesky raccoons at bay! 🛡️

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00606 · 48.3th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2025-12-19T21:15Z
Affected products (1)
ProductVersionsFixed in
takes/tkfilesall versions—
References (2)
EPSS history
Timeline
  • 19 DEC 00:00Z
    The Takes web framework's TkFiles take thru 2.0-SNAPSHOT fails to canonicalize HTTP request paths before resolving them against the filesystem
    cvelistv5