CVE-2026-144679
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| thanos-io | thanos | {"endIncluding":"0.42.5"} | |
References
- https://github.com/thanos-io/thanos/blob/v0.42.5/pkg/receive/multitsdb.go#L587-L591
- https://github.com/thanos-io/thanos/blob/v0.42.5/pkg/receive/multitsdb.go#L943
- https://github.com/thanos-io/thanos/blob/v0.42.5/pkg/tenancy/tenancy.go#L41-L46
- https://www.vulncheck.com/advisories/thanos-through-0.42.5-receive-path-traversal-via-tenant-id-leading-to-data-deletion
CWEs
CWE-22
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.