DirectorySecurity AdvisoriesPricing
Sign inTry Starter for free
Security Advisories

CGA-qp4f-mrc8-2m56

Package

thanos-geomys-fips

Component

github.com/prometheus/prometheus

Latest update

Pending upstream fix

Aliases

Severity

7.5

High

CVSS V3

Eliminate CVEs with Chainguard hardened images

Build, ship, and run secure software with minimal, hardened container images — rebuilt from source daily and guarded under our industry-leading remediation SLA.

Start for free

  • https://nvd.nist.gov/vuln/detail/CVE-2026-42154

Updates

Status

Pending upstream fix

Impact

The github.com/prometheus/prometheus dependency at v0.309.1 contains a vulnerability that is fixed in v0.311.3. The vulnerable function, DecodeReadRequest in storage/remote, decodes requests to the Prometheus remote read endpoint (/api/v1/read). Thanos does not serve that endpoint: "go tool nm" on /usr/bin/thanos from thanos-geomys-fips 0.42.5-r0 shows neither the function nor its only caller, the remote read handler, on either architecture. The finding comes from the module version. This status matches thanos and thanos-fips, which embed the same module version and measure the same.

Upgrading github.com/prometheus/prometheus from v0.309.1 to v0.311.3 introduces a breaking change that Thanos v0.42.5 has not adopted:

  • The package github.com/prometheus/prometheus/tsdb/errors was removed in v0.310.0. Thanos v0.42.5 imports it in internal/cortex/util/metrics_helper.go, pkg/block/writer.go, pkg/compactv2/compactor.go and pkg/receive/expandedpostingscache/tsdb.go, so it does not build against v0.311.3.

Upstream Thanos has moved its main branch to a newer Prometheus library (https://github.com/thanos-io/thanos/pull/9169), but v0.42.5 is the latest Thanos release. Resolution requires an upstream Thanos release built on Prometheus v0.311.3 or later.

Status

Not affected

Justification

Vulnerable code not present

Impact

The vulnerability is in DecodeReadRequest in github.com/prometheus/prometheus/storage/remote (storage/remote/codec.go), which decodes requests to the Prometheus remote read endpoint (/api/v1/read). The upstream fix (https://github.com/prometheus/prometheus/pull/18584) changes only that function. Thanos uses Prometheus as a library and does not serve the remote read endpoint, and the Go linker drops unreferenced functions, so this code is not in the binary.

Verified with "go tool nm" on /usr/bin/thanos from thanos-geomys-fips 0.42.5-r0. The binary embeds github.com/prometheus/prometheus v0.309.1 and links 365 symbols from storage/remote. None of them is DecodeReadRequest or its only caller, the remote read handler (readHandler, NewReadHandler). The symbol table is intact: 128,009 symbols on x86_64 and 127,652 on aarch64. The result is the same on both architectures.


The trusted source for open source

Talk to an expert
PrivacyTerms

Product

Chainguard ContainersChainguard LibrariesChainguard VMsChainguard OS PackagesChainguard ActionsChainguard Agent SkillsIntegrationsPricing
© 2026 Chainguard, Inc. All Rights Reserved.
Chainguard® and the Chainguard logo are registered trademarks of Chainguard, Inc. in the United States and/or other countries.
The other respective trademarks mentioned on this page are owned by the respective companies and use of them does not imply any affiliation or endorsement.