{"schemaVersion":3,"id":"CVE-2026-40024","aliases":["UBUNTU-CVE-2026-40024","DEBIAN-CVE-2026-40024"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-04-08T21:35:20.662Z","modified":"2026-10-01T19:19:18.863Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.4,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":8.4,"severity":"high","vector":"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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.1,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":8.4,"severity":"high","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.1,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","exploitability":4.6,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.1,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","exploitability":4.6,"impact":8.7,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":8.4,"severity":"high","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.1,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00207,"percentile":0.10177,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.03999999999999997,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00167},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00207,"percentile":0.10177}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00167,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00207,"percentile":0.10177}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"}],"affected":[{"vendor":"debian","product":"sleuthkit","name":"sleuthkit","label":"sleuthkit","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/sleuthkit","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"sleuthkit","name":"sleuthkit","label":"sleuthkit","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/sleuthkit","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"sleuthkit","product":"sleuthkit","name":"sleuthkit","label":"sleuthkit","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 4.14.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 4.14.0","eol":null,"hubHref":"/vendor/sleuthkit/sleuthkit"},{"vendor":"sleuthkit","product":"the_sleuth_kit","name":"the sleuth kit","label":"the_sleuth_kit","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 4.15.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.15.0","eol":null,"hubHref":"/vendor/sleuthkit/the_sleuth_kit"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/sleuthkit/sleuthkit/commit/a3f96b3bc36a8bb1a00c297f77110d4a6e7dd31b","label":"github.com/sleuthkit/sleuthkit/commit/a3f96b3bc36a8bb1a00c297f77110d4a6e7dd31b","hostname":"github.com","tags":["Patch","REPORT"]},{"url":"https://mobasi.ai/sentinel","label":"mobasi.ai/sentinel","hostname":"mobasi.ai","tags":["Vendor Advisory","REPORT","Third Party Advisory"]},{"url":"https://www.vulncheck.com/advisories/sleuth-kit-tsk-recover-path-traversal","label":"www.vulncheck.com/advisories/sleuth-kit-tsk-recover-path-traversal","hostname":"www.vulncheck.com","tags":["Third Party Advisory","REPORT"]},{"url":"https://ubuntu.com/security/CVE-2026-40024","label":"ubuntu.com/security/CVE-2026-40024","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-40024","label":"www.cve.org/CVERecord?id=CVE-2026-40024","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-40024","label":"security-tracker.debian.org/tracker/CVE-2026-40024","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40024","label":"nvd.nist.gov/vuln/detail/CVE-2026-40024","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-04-08T21:35:20.662Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-01T19:19:18.863Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":34,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T04:07:43.187Z","stale":false,"partial":false}}