CVE-2026-144679 PUBLISHED

Thanos through 0.42.5 Receive Path Traversal via Tenant ID Leading to Data Deletion

Assigner: VulnCheck
Reserved: 04.12.2026 Published: 04.12.2026 Updated: 04.12.2026

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.

Metrics

CVSS Vector: 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
CVSS Score: 8.3

Product Status

Vendor thanos-io
Product Thanos
Versions Default: unaffected
  • affected from 0 to 0.42.5 (incl.)

Credits

  • Zachariah Mithani (AploSec) finder

References

Problem Types

  • Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') CWE