Skip to main content

Prometheus CVE-2026-42154

| EUVDEUVD-2026-27091 HIGH
Uncontrolled Resource Consumption (CWE-400)
2026-05-04 GitHub_M GHSA-8rm2-7qqf-34qm
7.5
CVSS 3.1 · Vendor: GitHub_M
Share

Severity by source

Vendor (GitHub_M) PRIMARY
7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
SUSE
HIGH
qualitative
Red Hat
7.5 HIGH
qualitative

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

3
Patch available
May 04, 2026 - 20:01 EUVD
Source Code Evidence Fetched
May 04, 2026 - 19:30 vuln.today
Analysis Generated
May 04, 2026 - 19:30 vuln.today

DescriptionCVE.org

Prometheus is an open-source monitoring system and time series database. Prior to versions 3.5.3 and 3.11.3, 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. This issue has been patched in versions 3.5.3 and 3.11.3.

AnalysisAI

Memory exhaustion in Prometheus remote read endpoint allows unauthenticated attackers to crash the monitoring server via maliciously crafted snappy-compressed payloads. The /api/v1/read endpoint in versions prior to 3.5.3 and 3.11.3 accepts compressed request bodies without validating the declared decoded length, enabling a 5-byte payload claiming 256 MiB decoded size to trigger massive heap allocations. Concurrent requests can exhaust memory and crash the Prometheus process. EPSS data not provided; no evidence of active exploitation (not in CISA KEV). Vendor-released patches available in versions 3.5.3 and 3.11.3.

Technical ContextAI

Prometheus is a widely-deployed open-source monitoring and time series database system, commonly used in cloud-native and Kubernetes environments. The vulnerability resides in the remote read API endpoint (/api/v1/read), which accepts snappy-compressed protocol buffer requests for querying time series data. Snappy compression uses a stream format with a header declaring the decoded length before the actual compressed data. The flaw is a classic CWE-400 (Uncontrolled Resource Consumption) issue where the server trusts the client-supplied decoded length header without validation, allowing an attacker to send a tiny compressed payload (as small as 5 bytes) claiming a massive decoded size (e.g., 256 MiB). The vulnerable code path in storage/remote/codec.go's DecodeReadRequest() function allocates memory based on this untrusted header before decompression occurs. The fix implements a 32 MiB limit check (decodeReadLimit) on the declared decoded length using snappy.DecodedLen() before any memory allocation, rejecting payloads exceeding the threshold.

RemediationAI

Upgrade immediately to Prometheus version 3.5.3 or 3.11.3 depending on your release track (see https://github.com/prometheus/prometheus/releases/tag/v3.5.3 and https://github.com/prometheus/prometheus/releases/tag/v3.11.3). These versions implement decoded-length validation with a 32 MiB limit before memory allocation. If immediate patching is not feasible, implement network-level access controls: restrict /api/v1/read endpoint access to trusted internal networks only using firewall rules or reverse proxy ACLs; disable remote read functionality entirely if federated queries are not required (remove --web.enable-remote-read flag or equivalent configuration). Rate limiting at the reverse proxy/load balancer can reduce concurrent request impact but does not eliminate the vulnerability. Monitor memory usage closely for anomalies. Each mitigation has trade-offs: network restrictions may break legitimate federated monitoring; disabling remote read eliminates long-term storage query functionality; rate limiting adds operational complexity and may impact legitimate high-throughput queries.

CVE-2022-46146 HIGH POC
8.8 Nov 29

Prometheus Exporter Toolkit is a utility package to build exporters. Rated high severity (CVSS 8.8), this vulnerability

CVE-2026-24892 HIGH POC
7.5 Feb 20

Unsafe PHP deserialization in openITCOCKPIT Community Edition 5.3.1 and earlier allows authenticated attackers to inject

CVE-2026-24891 HIGH POC
7.5 Feb 20

Remote code execution in openITCOCKPIT 5.3.1 and earlier via unsafe deserialization in the Gearman worker component, whi

CVE-2026-42151 HIGH POC
7.5 May 04

Prometheus monitoring system exposes Azure AD OAuth client secrets in plaintext via its /-/config HTTP API endpoint. Ver

CVE-2021-29622 MEDIUM POC
6.1 May 19

Prometheus is an open-source monitoring system and time series database. Rated medium severity (CVSS 6.1), this vulnerab

CVE-2020-16248 MEDIUM POC
5.8 Aug 09

Prometheus Blackbox Exporter through 0.17.0 allows /probe?target= SSRF. Rated medium severity (CVSS 5.8), this vulnerabi

CVE-2023-26735 HIGH
7.5 Apr 26

blackbox_exporter v0.23.0 was discovered to contain an access control issue in its probe interface. Rated high severity

CVE-2026-26069 HIGH
7.5 Feb 12

Scraparr versions 3.0.0-beta through 3.0.1 expose Readarr API keys in plaintext through the /metrics endpoint when the R

CVE-2026-0528 MEDIUM
6.5 Jan 13

Denial of Service in Prometheus and Kibana metricsets can be triggered by sending specially crafted malformed payloads t

CVE-2019-3826 MEDIUM
6.1 Mar 26

A stored, DOM based, cross-site scripting (XSS) flaw was found in Prometheus before version 2.7.1. Rated medium severity

CVE-2023-40577 MEDIUM
5.4 Aug 25

Alertmanager handles alerts sent by client applications such as the Prometheus server. Rated medium severity (CVSS 5.4),

CVE-2026-44903 MEDIUM
5.1 May 26

Stored cross-site scripting in Prometheus versions 2.49.0 through 3.5.2/3.11.2 allows a low-privileged attacker who can

Vendor StatusVendor

SUSE

Severity: High
Product Status
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise Module for Package Hub 15 SP7 Fixed
SUSE Linux Enterprise Server 16.0 Fixed
SUSE Linux Enterprise Server for SAP applications 16.0 Fixed
SUSE Manager Client Tools 15 Fixed

Share

CVE-2026-42154 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy