CVE 6.7 MEDIUM

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

6.7 / 10
MEDIUM
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

Description

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.

Basic Information

ID CVE-2026-42866
Source GitHub_M
Published May 11, 2026 at 18:23
Modified May 11, 2026 at 18:36

Affected Product

Vendor Alfredredbird
Product tookie-osint
Version < 4.1fix
Affected Versions Alfredredbird tookie-osint < 4.1fix

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.