CVE-2026-144679: Thanos through 0.42.5 Receive Path Traversal via Tenant ID Leading to Data Deletion
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.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this issue?
Thanos Receive deployments through 0.42.5 are exposed if unauthenticated remote-write clients can reach the Receive endpoint and supply the THANOS-TENANT header.
What does an attacker need to do to trigger data deletion?
An attacker needs to send a remote-write request using '.' or '..' as the tenant ID in the THANOS-TENANT header, then stop sending writes. Tenant pruning can subsequently invoke os.RemoveAll on the data directory and delete local TSDB data.
Is authentication required for exploitation?
No. The issue is described as exploitable by unauthenticated remote-write clients.