CVE-2026-42866
MEDIUMTookie: Arbitrary file write via path traversal in -u username / -U userfile output filename
Title source: cnaDescription
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.
References (1)
Core 1
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/Alfredredbird/tookie-osint/security/advisories/GHSA-rp68-wfv6-3cq3
Scores
CVSS v4
6.7
EPSS
0.0014
EPSS Percentile
4.0%
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-22
CWE-73
Status
published
Products (1)
Alfredredbird/tookie-osint
< 4.1fix
Published
May 11, 2026
Tracked Since
May 12, 2026