{"id":"CVE-2026-40024","summary":"Sleuth Kit tsk_recover Path Traversal","details":"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.","modified":"2026-07-08T08:13:08.887144461Z","published":"2026-04-08T21:35:20.662Z","database_specific":{"cna_assigner":"VulnCheck","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40024.json","cwe_ids":["CWE-22"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40024.json"},{"type":"ADVISORY","url":"https://mobasi.ai/sentinel"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40024"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/sleuth-kit-tsk-recover-path-traversal"},{"type":"FIX","url":"https://github.com/sleuthkit/sleuthkit/commit/a3f96b3bc36a8bb1a00c297f77110d4a6e7dd31b"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/sleuthkit/sleuthkit","events":[{"introduced":"0"},{"fixed":"01de0345edaa1ebf21dba6939a7c6bc7129e6e7d"},{"fixed":"a3f96b3bc36a8bb1a00c297f77110d4a6e7dd31b"}],"database_specific":{"cpe":"cpe:2.3:a:sleuthkit:the_sleuth_kit:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"4.15.0"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["ct-3.15.0","sleuthkit-4.14.0","ct-3.13.0","ct-3.12.0","ct-3.9.0","ct-3.6.0","sleuthkit-4.12.0","ct-3.5.0","sleuthkit-4.6.3","sleuthkit-4.0.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40024.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"}]}