{"id":"CVE-2026-144679","summary":"Thanos through 0.42.5 Receive Path Traversal via Tenant ID Leading to Data Deletion","details":"Thanos through 0.42.5 contains a path traversal vulnerability in Receive that allows unauthenticated remote-write clients to target the data directory by supplying '.' or '..' as the tenant ID. Attackers can send one write with such a THANOS-TENANT header and stop writing, causing tenant pruning to call os.RemoveAll and delete all local TSDB data.","modified":"2026-12-04T03:00:44.594109570Z","published":"2026-12-04T01:37:19.077Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-22"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/144xxx/CVE-2026-144679.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/144xxx/CVE-2026-144679.json"},{"type":"PACKAGE","url":"https://github.com/thanos-io/thanos"},{"type":"ARTICLE","url":"https://github.com/thanos-io/thanos/blob/v0.42.5/pkg/receive/multitsdb.go#L587-L591"},{"type":"ARTICLE","url":"https://github.com/thanos-io/thanos/blob/v0.42.5/pkg/receive/multitsdb.go#L943"},{"type":"ARTICLE","url":"https://github.com/thanos-io/thanos/blob/v0.42.5/pkg/tenancy/tenancy.go#L41-L46"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-144679"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/thanos-through-0.42.5-receive-path-traversal-via-tenant-id-leading-to-data-deletion"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/thanos-io/thanos","events":[{"introduced":"0"},{"last_affected":"4f05efeeadbacdc6552d68ef0850b40317109b4f"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"0"},{"last_affected":"0.42.5"}],"source":"AFFECTED_FIELD"}]}}],"versions":["v0.42.5","v0.42.4","v0.42.3","v0.42.2","v0.42.1","v0.42.0","v0.42.0-rc.2","v0.42.0-rc.1","v0.42.0-rc.0","v0.8.0","v0.7.0","v0.7.0-rc.0","v0.5.0-rc.0","v0.4.0","v0.4.0-rc.1","v0.4.0-rc.0","v0.3.2","v0.3.1","v0.3.0","v0.2.1","v0.2.0","v0.1.0","v0.1.0-rc.2","v0.1.0-rc.1","v0.1.0-rc.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-144679.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N"}]}