Skip to content

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

MediumCVSS 6.7 EPSS 0.19%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

1 package: 0 fixed.

PackageAffectedFixed inStatus
Alfredredbird tookie-osint = < 4.1fix No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
Alfredredbird tookie-osint = < 4.1fix No fix listed

References