Skip to main content
← All vulnerabilities
CVE-2026-42866

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.1fix
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Alfredredbird tookie-osint

    fixed in 4.1fix

References 1

GitHub · Alfredredbird/tookie-osint