AploSec / Disclosures / CVE-2026-144679
Thanos through 0.42.5 Receive Path Traversal via Tenant ID Leading to Data Deletion
CVE-2026-144679 · published 2026-12-04
In plain words: this type of bug lets someone read or write files outside the folder they should be limited to (path traversal). No fixed release is listed yet.
Summary
CVE-2026-144679 affects Thanos (Go) <= 0.42.5: Receive Path Traversal via Tenant ID Leading to Data Deletion (CWE-22). No fixed release is listed. CVSS 4.0 base score 8.3 (High), assigned by VulnCheck. Published 2026-12-04 by VulnCheck. Credit: Zachariah Mithani (AploSec).
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.
Evidence
Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.
Remediation
No fixed release is listed in the advisory. Check the references for upstream status.
References
- VulnCheck advisoryhttps://www.vulncheck.com/advisories/thanos-through-0.42.5-receive-path-traversal-via-tenant-id-leading-to-data-deletion
- Vulnerable codehttps://github.com/thanos-io/thanos/blob/v0.42.5/pkg/tenancy/tenancy.go#L41-L46
- Vulnerable codehttps://github.com/thanos-io/thanos/blob/v0.42.5/pkg/receive/multitsdb.go#L943
- Vulnerable codehttps://github.com/thanos-io/thanos/blob/v0.42.5/pkg/receive/multitsdb.go#L587-L591
- CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-144679
- Severity
- High 8.3CVSS 4.0, scored by VulnCheck in the CVE record
- Package
- Thanos
- Ecosystem
- Go
- Affected
- <= 0.42.5
- Fixed
- None
- Weakness
- CWE-22
- CNA
- VulnCheck
- Credit
- Zachariah Mithani (AploSec)finder