Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSupply username with path traversal payload
-
DeliveryAnalyst invokes tookie-osint with crafted -u or -U input
-
Exploitwrite_txt/write_csv/write_json resolves unsanitized path
-
ExecutionPython open() writes output to attacker-chosen filesystem location
-
ImpactTarget file overwritten within analyst's permission scope
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the attacker supply a crafted username - via the -u CLI flag or as a line in a -U batch usernames file - containing path traversal sequences such as ../, ..\ , or an absolute path string. The operator invoking tookie-osint must have write permission to the resolved target path; no elevated or administrative privileges are needed by the tool itself. No special configuration of tookie-osint is required beyond standard invocation of any of the write_txt, write_csv, or write_json output modes. Exploitation is strictly bounded by the filesystem permissions of the user running the tool - the attacker cannot overwrite files outside that user's write access. Remote exploitation is not possible; an attacker must induce the victim operator to run tookie-osint with attacker-controlled input, either by pre-positioning a malicious usernames file or through social engineering of the -u flag value. |
| Impact | Real-world risk is materially constrained by the local attack vector (AV:L) and mandatory user interaction (UI:A in CVSS 4.0). Remote exploitation is impossible; an adversary must induce the operator to run tookie-osint with attacker-controlled input, either by pre-positioning a malicious -U usernames file or by supplying a crafted -u value directly. EPSS at 0.01% (3rd percentile) aligns with this restricted exposure surface and the tool's niche deployment footprint. SSVC designates exploitation as 'poc' (proof-of-concept exists), technical impact as 'partial' (integrity-only, no confidentiality or availability effect), and automatable as 'no', confirming that mass exploitation at scale is not feasible. The CVSS 4.0 base score of 6.7 reasonably reflects the high local integrity impact without overstating risk. The primary realistic threat is an analyst running tookie-osint against a corpus of attacker-controlled usernames (e.g., harvested or injected into a batch file), leading to targeted file overwrites bounded by the analyst's own filesystem permissions. No CVSS 3.x vector is provided in the source data; the 4.0 vector is the authoritative scoring reference here. |
| Exploit ScenarioDerived | An OSINT analyst processes a batch of usernames sourced from or manipulated by an adversary using the -U flag; one entry contains a value such as ../../.ssh/authorized_keys, causing tookie-osint's write_json helper to overwrite the analyst's SSH authorized_keys file with scan output. A proof-of-concept exists per SSVC assessment, making this scenario straightforward to reproduce with minimal tooling and no elevated privileges beyond those of the analyst's own account. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 23, 2026
Path traversal in tookie-osint (all versions prior to 4.1fix) allows an attacker who controls the tool's username input to redirect scan output files to arbitrary filesystem paths accessible to the invoking user. The write_txt, write_csv, and write_json helpers in modules/modules.py construct output filenames via unsanitized f-string interpolation of the -u CLI flag or lines from a -U batch usernames file, enabling directory-separator sequences to escape the intended output directory. A proof-of-concept exists per SSVC assessment; however, EPSS sits at 0.01% (3rd percentile) and the vulnerability is absent from the CISA KEV catalog, consistent with the niche footprint of this tool and the local execution prerequisite.
RemediationAI
Upgrade tookie-osint to version 4.1fix, which addresses the unsanitized path construction in modules/modules.py. Full patch details are available in the vendor advisory at https://github.com/Alfredredbird/tookie-osint/security/advisories/GHSA-rp68-wfv6-3cq3. If immediate upgrade is not feasible, apply the following specific compensating controls: first, sanitize all usernames before passing them to tookie-osint by stripping or rejecting strings containing /, \, and .. sequences via a preprocessing script or shell wrapper - this prevents traversal sequences from reaching the vulnerable helpers. Second, run tookie-osint inside a dedicated, isolated working directory with restricted write permissions (e.g., a tmpfs mount or a directory with no sensitive content) so that any traversal-induced write is confined to a controlled blast radius. Third, avoid processing untrusted or externally-sourced username lists without prior validation. Note that directory restriction does not fully mitigate the flaw if the attacker supplies an absolute path in the username.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
tookie-osint is a Python-based OSINT information-gathering CLI tool (CPE: cpe:2.3:a:alfredredbird:tookie-osint:*:*:*:*:*:*:*:*) authored by Alfredredbird. The root cause is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory - Path Traversal): the output helpers in modules/modules.py call Python's built-in open() using direct f-string interpolation, e.g. open(f"{user}.<ext>"), where user is derived verbatim from the -u flag or any line of a -U usernames file. Python's open() resolves the resulting path against the process working directory without any canonicalization, so sequences such as ../, ..\ , or an absolute path prefix silently redirect the file write. Notably, the scan_file helper is flagged as commented-but-shipping, meaning the vulnerable pattern exists even in partially inactive code paths, broadening the affected surface within the module.
Know when Tookie Osint gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Local CLI execution required with user-supplied input; only filesystem integrity is impacted; no confidentiality or availability effect applies.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
4DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
EUVD-2026-29183
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB