Skip to content
prometheusGHSA-8rm2-7qqf-34qm

Prometheus: Remote read endpoint allows denial of service via crafted snappy payload

High7.5CVE-2026-42154 · Published May 5, 2026 · updated Sep 10, 2026

### Impact The remote read endpoint (`/api/v1/read`) does not validate the declared decoded length in a snappy-compressed request body before allocating memory. An unauthenticated attacker can send a small payload that causes a huge heap allocation per request. Under concurrent load this can exhaust available memory and crash the Prometheus process. ### Patches _Has the problem been patched? What versions should users upgrade to?_ Fixed in 3.11.3 and 3.5.3 LTS. Users should upgrade to these versions or later. ### Workarounds User who can not upgrade can place Prometheus behind a reverse proxy or firewall that requires authentication before requests reach /api/v1/read.

GitHub advisory

Affected versions

PackageAffectedFixed in
github.com/prometheus/prometheus
Go
>= 0.306.0, < 0.311.30.311.3
< 0.305.20.305.2
>= 1.0.0-rc.0, <= 2.5.0No fix yet
Details and references

More prometheus advisories

All prometheus
Advisory
prometheus: cross-site scripting
Medium6.1May 5
Prometheus Azure AD remote write OAuth client secret exposed via config API
High7.5May 5
Prometheus has Stored XSS via metric names and label values in Prometheus web UI tooltips and metrics explorer
Medium6.1Apr 13
Prometheus vulnerable to basic authentication bypass
High7.2Dec 5, 2022

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.