CVE-2026-42866

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

MEDIUM
6.7
CVSS Score
Published: May 11, 2026 at 06:23 PM UTC
Updated: October 26, 2026 at 06:10 PM UTC
1 product affected across 1 vendorTookie Osint

Using tookie-osint by Alfredredbird?

Get instant alerts when new vulnerabilities affect tookie-osint - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.7
Exploit prediction
EPSS 0.2%
SSVC
PoC

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 4.1fix
Affected range stops below 4.1fix, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

SSVC — Action Prioritization

SSVCPoCNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

6.7MEDIUMGitHub_M
Vector?

Quick Info

StatusDEFERRED
CWE
CWE-22CWE-73

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card