---
id: CVE-2025-66905
title: >-
  The Takes web framework's TkFiles take thru 2.0-SNAPSHOT fails to canonicalize
  HTTP request paths before resolving them against the filesystem
summary: >-
  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…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'
cwe:
  - CWE-22
vendor: takes
product: tkfiles
affected:
  - tkfiles = 2.0
published: '2025-12-19'
updated: '2026-10-13'
sourceUpdated: '2026-10-13T11:10:00.203'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-66905'
references:
  - url: >-
      https://github.com/Xzzz111/public_cve_report/blob/main/CVE-2025-66905_report.md
    label: cve@mitre.org
  - url: 'https://github.com/yegor256/takes'
    label: cve@mitre.org
tags:
  - nvd
epss: 0.00606
epssPercentile: 0.47511
ingestedAt: '2026-10-13T11:23:51.145Z'
---

## Overview

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.

## Affected

- `tkfiles = 2.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
