CVE-2026-144680: Thanos through 0.42.5 Tenant Isolation Bypass via /api/v1/query_exemplars
Thanos through 0.42.5 contains an authorization bypass vulnerability in Query that allows authenticated tenants to read other tenants' exemplars because /api/v1/queryexemplars ignores --query.enforce-tenancy. Attackers can submit exemplar queries with selectors on another tenant's label value to retrieve that tenant's trace IDs and series labels.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
An authenticated tenant able to submit queries to the Thanos Query API can exploit it. The attacker needs to know or supply another tenant's label value in an exemplar query selector.
Are deployments without tenancy enforcement affected?
The issue is specifically caused by /api/v1/query_exemplars ignoring the --query.enforce-tenancy setting. The provided information does not establish an impact for deployments that do not use tenancy enforcement.
What information can be exposed?
An attacker can retrieve exemplars belonging to another tenant, including trace IDs and series labels. The vulnerability does not indicate modification or deletion of other tenants' data.
How can I determine whether my deployment is vulnerable?
Deployments running Thanos through 0.42.5 should assess whether they expose the Query API to authenticated tenants and rely on --query.enforce-tenancy for isolation. Affected behavior can be identified by submitting /api/v1/query_exemplars requests with selectors targeting another tenant's label value and observing whether exemplars are returned.