Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-42866: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Alfredredbird tookie-osint

0
Medium
VulnerabilityCVE-2026-42866cvecve-2026-42866cwe-22cwe-73
Published: Mon May 11 2026 (05/11/2026, 18:23:19 UTC)
Source: CVE Database V5
Vendor/Project: Alfredredbird
Product: tookie-osint

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/11/2026, 19:37:33 UTC

Technical Analysis

The vulnerability in tookie-osint versions before 4.1fix involves improper limitation of pathname to a restricted directory (CWE-22). Specifically, the write_txt, write_csv, write_json, and scan_file helper functions open output files using a filename derived directly from unsanitized user input (the -u CLI flag or usernames file). This allows path traversal sequences such as '..', '/', or '\' to influence the output path, enabling writing files outside the intended directory to any location writable by the user. This issue is fixed in version 4.1fix.

Potential Impact

An attacker who can control the username input can cause tookie-osint to write output files to arbitrary paths on the filesystem where the invoking user has write permissions. This could lead to overwriting or creating files in unintended locations, potentially enabling privilege escalation or data manipulation depending on the environment and user privileges. There are no known exploits in the wild at this time.

Mitigation Recommendations

Upgrade tookie-osint to version 4.1fix or later, where this path traversal vulnerability has been fixed. Until upgrading, avoid running the tool with untrusted or unsanitized username inputs that contain path traversal characters. Patch status is not explicitly confirmed beyond the mention of the fix in 4.1fix; verify with the vendor for official advisories and updates.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-30T18:49:06.710Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a022c3bcbff5d86104f7da7

Added to database: 5/11/2026, 7:21:31 PM

Last enriched: 5/11/2026, 7:37:33 PM

Last updated: 5/12/2026, 3:48:24 AM

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses