{"id":"CVE-2026-42866","published":"2026-05-11T18:23:19Z","modified":"2026-05-11T18:36:50Z","title":"Tookie: Arbitrary file write via path traversal in -u username / -U userfile output filename","vendor":"Alfredredbird","product":"tookie-osint","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.7,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00206,"percentile":0.10821,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-73","name":"External Control of File Name or Path"}],"references":[{"url":"https://github.com/Alfredredbird/tookie-osint/security/advisories/GHSA-rp68-wfv6-3cq3","tags":["x_refsource_CONFIRM"]}],"priority":{"score":6.9,"factors":[{"name":"EPSS percentile","points":2.16},{"name":"CVSS severity","points":4.69}]},"vendorSlug":"alfredredbird","affectedVersions":[{"vendor":"Alfredredbird","product":"tookie-osint","versions":["< 4.1fix"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-11T18:36:26.392498Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-29183","exploited":false,"provenance":"source"}}