CVE-2026-42154: Prometheus: remote read endpoint allows denial of service via crafted snappy payload

Published May 4, 2026
·
Updated

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.

Other sources

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.

MITRE

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

Microsoft

Affected Software

5 affected componentsFixes available
Prometheus Prometheus<3.5.3, <3.11.3
go/github.com/prometheus/prometheus<0.311.3
0.311.3
Prometheus Prometheus<3.5.3
Prometheus Prometheus>=3.6.0<3.11.3
Microsoft azl3 telegraf 1.31.0-19

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade go/github.com/prometheus/prometheus to a version that resolves this vulnerability.

    Fixed in 0.311.3
  2. Upgrade

    Upgrade Prometheus to a version that resolves this vulnerability.

    Fixed in 3.5.3
  3. Upgrade

    Upgrade Prometheus to a version that resolves this vulnerability.

    Fixed in 3.11.3
  4. Compensating control

    If you cannot upgrade, place Prometheus behind a reverse proxy or firewall that requires authentication before allowing requests to reach /api/v1/read.

Event History

May 4, 2026
CVE Published
via MITRE·06:13 PM
Data Sourced
via MITRE·06:13 PM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·07:02 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·07:16 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:16 PM
RemedyAffected Software
May 5, 2026
Advisory Published
via GitHub·07:34 PM
Data Sourced
via GitHub·07:34 PM
DescriptionSeverityWeaknessAffected Software
May 7, 2026
Data Sourced
via Microsoft·08:03 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:03 AM
Affected Software
Updated
via Microsoft·08:03 AM
DescriptionSeverity
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-42154?

CVE-2026-42154 has a significant severity rating as it allows for potential denial of service through crafted snappy payloads.

2

How do I fix CVE-2026-42154?

To fix CVE-2026-42154, upgrade Prometheus to version 3.5.3 or 3.11.3 or later.

3

What is the impact of CVE-2026-42154?

The impact of CVE-2026-42154 is that it can lead to denial of service when the remote read endpoint handles malformed payloads.

4

Which versions of Prometheus are affected by CVE-2026-42154?

Versions of Prometheus prior to 3.5.3 and 3.11.3 are affected by CVE-2026-42154.

5

Can CVE-2026-42154 be exploited remotely?

Yes, CVE-2026-42154 can be exploited remotely through the remote read endpoint without proper validation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203