Tookie: Arbitrary file write via path traversal in -u username / -U userfile output filename
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Active
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Alfredredbird | tookie-osint | before 4.1fix | 4.1fix | Patch available | CNA |
- tookie-osint VendorAlfredredbird Affected before 4.1fix Fixed in 4.1fix Patch available CNA
Remediation
- Fix · CNA tookie-osint (Alfredredbird) Fixed in 4.1fix
Timeline
- 2026-10-02 Threatist record created from CVE-2026-42866
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences