CVE-2026-42866CWE-22CWE-73

Tookie: Arbitrary file write via path traversal in -u username / -U userfile output filename

Medium · published May 11, 2026

CVSS v4.0
6.7
EPSS
0%
Percentile
8.5
In the wild
Unconfirmed
What it is

Tookie is a advanced OSINT information gathering tool. Prior to 4.1fix, modules/modules.py's write_txt, write_csv, write_json, and (commented-but-shipping) scan_file helpers open their output as open(f"{user}.<ext>"), where user comes unsanitized from the -u CLI flag or any line of a -U usernames file. A username that contains path-separator sequences (.., /, \, or an absolute path) causes tookie-osint to write the scan output to an arbitrary path the invoking user has write permission for. This vulnerability is fixed in 4.1fix.

The record
Technical detail
CVSS v4.0
6.7 · MEDIUM
Vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
EPSS
0.00193 · 8.5th percentile
Weaknesses
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'); CWE-73 · External Control of File Name or Path
Published
2026-05-11T18:23Z
EPSS history
Timeline
  • 11 MAY 18:23Z
    Tookie: Arbitrary file write via path traversal in -u username / -U userfile output filename
    cvelistv5