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.
CVSS
HIGH 8.3 · v4.0
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/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:XWEAKNESSES
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
This record is mirrored from the NIST National Vulnerability Database and republished unchanged. It may have been revised or withdrawn since we last synced it; check the record at NVD before relying on it.