CVE-2026-42866 Details
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.
An arbitrary file write vulnerability has been identified in Tookie OSINT versions prior to 4.1fix. The issue arises in the 'modules/modules.py' file, specifically within the 'write_txt', 'write_csv', 'write_json', and 'scan_file' helper functions. These functions open output files using a filename derived from the '-u' command-line interface (CLI) flag or from a line in a '-U' usernames file, without proper sanitization. This lack of sanitization allows usernames containing path-separator sequences or absolute paths to be exploited, directing output to arbitrary locations where the user has write permissions. While the vulnerability is somewhat contained by the enforced file extensions, it still permits overwriting existing files and cluttering user-writable directories.
Users are advised to update to Tookie OSINT version 4.1fix or later. Additionally, the username input should be sanitized to remove any path traversal characters before being used as a filename.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 11, 2026CISA-ADP
Assessed May 11, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Alfredredbird/tookie-osint/security/advisories/GHSA-rp68-wfv6-3cq3 | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/Alfredredbird/tookie-osint/security/advisories/GHSA-rp68-wfv6-3cq3 | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
| CWE-73 | External Control of File Name or Path | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Alfredredbird Tookie | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 11, 2026 | CVE Modified | CISA-ADP |
| May 11, 2026 | New CVE Received | [email protected] |
Volerion