{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "0.42.5"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "4f05efeeadbacdc6552d68ef0850b40317109b4f"
            }
          ],
          "repo": "https://github.com/thanos-io/thanos",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-22"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/144xxx/CVE-2026-144679.json"
  },
  "details": "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.",
  "id": "CVE-2026-144679",
  "modified": "2026-12-04T02:46:02.193930733Z",
  "published": "2026-12-04T01:37:19.077Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/144xxx/CVE-2026-144679.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/thanos-io/thanos"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/thanos-io/thanos/blob/v0.42.5/pkg/receive/multitsdb.go#L587-L591"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/thanos-io/thanos/blob/v0.42.5/pkg/receive/multitsdb.go#L943"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/thanos-io/thanos/blob/v0.42.5/pkg/tenancy/tenancy.go#L41-L46"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-144679"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/thanos-through-0.42.5-receive-path-traversal-via-tenant-id-leading-to-data-deletion"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Thanos through 0.42.5 Receive Path Traversal via Tenant ID Leading to Data Deletion"
}