GHSA-gv3c-3v65-jjrxHighCVSS 7.4
Thanos through 0.42.5 contains a path traversal vulnerability in Receive that allows...
🔗 CVE IDs covered (1)
📋 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.
🔗 References (6)
- https://nvd.nist.gov/vuln/detail/CVE-2026-144679
- 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
- https://github.com/advisories/GHSA-gv3c-3v65-jjrx