Skip to main content

tookie-osint EUVDEUVD-2026-29183

| CVE-2026-42866 MEDIUM
Path Traversal (CWE-22)
2026-05-11 GitHub_M
6.7
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Supply username with path traversal payload
  2. Delivery
    Analyst invokes tookie-osint with crafted -u or -U input
  3. Exploit
    write_txt/write_csv/write_json resolves unsanitized path
  4. Execution
    Python open() writes output to attacker-chosen filesystem location
  5. Impact
    Target 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

tookie-osint < 4.1fix

Affected Packages

euvd tookie_osint fix: 4.1fix

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

Vendor (GitHub_M) PRIMARY 6.7 MEDIUM
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
vuln.today AI 5.5 MEDIUM

Local CLI execution required with user-supplied input; only filesystem integrity is impacted; no confidentiality or availability effect applies.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
4.0 AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

4
Patch available
May 11, 2026 - 20:02 EUVD
CVSS changed
May 11, 2026 - 19:22 NVD
6.7 (MEDIUM)
CVE Published
May 11, 2026 - 18:23 nvd
UNKNOWN (no severity yet)
CVE Published
May 11, 2026 - 18:23 nvd
MEDIUM 6.7

DescriptionCVE.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

EPSS Score
0.0%
Top 97% exploitable
Prevalence
Rare
niche OSINT CLI tool, limited enterprise deployment footprint
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy