CVE-2026-40024: Sleuth Kit - Path Traversal
- Cve: CVE-2026-40024
- Name: Sleuth Kit - Path Traversal
- Description: The Sleuth Kit through 4.14.0 contains a path traversal vulnerability in tsk_recover that allows an attacker to write files to arbitrary locations outside the intended recovery directory via crafted filenames or directory paths with path traversal sequences in a filesystem image. An attacker can craft a malicious filesystem image with embedded /../ sequences in filenames that, when processed by tsk_recover, writes files outside the output directory, potentially achieving code execution by overwriting shell configuration or cron entries.
- Impact: Attackers can write files outside intended directories, potentially leading to code execution by overwriting critical files.
- Remediation: Update to the latest version beyond 4.14.0.
- Vulnerability type: path_traversal
- Vulnerability impact: file_system_write, remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.1
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
- Epss score: 0.00208
- Epss percentile: 0.10682
- Assignee: [email protected]
- Published at: 2026-04-08T22:16:22Z
- Age in days: 230
- Modified at: 2026-07-25T11:10:00Z
- Patch available: yes
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-40024
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/sleuthkit/sleuthkit/commit/a3f96b3bc36a8bb1a00c297f77110d4a6e7dd31b | Patch |
| https://mobasi.ai/sentinel | Third Party Advisory |
| https://www.vulncheck.com/advisories/sleuth-kit-tsk-recover-path-traversal | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| sleuthkit:the_sleuth_kit | < 4.15.0 | no | nvd | /v1/products/sleuthkit/the_sleuth_kit |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| sleuthkit/sleuthkit | commit, fix | yes | /v1/repositories/sleuthkit/sleuthkit |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts