The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-42154

CVE-2026-42154: Prometheus DOS Vulnerability

CVE-2026-42154 is a denial of service flaw in Prometheus that allows attackers to exhaust memory via malicious snappy-compressed requests. This article covers technical details, affected versions, impact, and mitigation.

Published: May 7, 2026

CVE-2026-42154 Overview

CVE-2026-42154 is a denial-of-service vulnerability in Prometheus, the open-source monitoring system and time series database. The remote read endpoint at /api/v1/read fails to validate the declared decoded length of a snappy-compressed request body before allocating memory. An unauthenticated attacker can send a small, crafted payload that triggers a large heap allocation per request. Under concurrent load, this exhausts available memory and crashes the Prometheus process. The flaw is classified as uncontrolled resource consumption [CWE-400] and affects Prometheus versions prior to 3.5.3 and 3.11.3.

Critical Impact

Unauthenticated remote attackers can crash Prometheus instances exposing the remote read endpoint, disrupting monitoring, alerting, and downstream observability pipelines.

Affected Products

  • Prometheus versions prior to 3.5.3
  • Prometheus versions prior to 3.11.3
  • Deployments exposing the /api/v1/read remote read endpoint

Discovery Timeline

  • 2026-05-04 - CVE-2026-42154 published to NVD
  • 2026-05-07 - Last updated in NVD database

Technical Details for CVE-2026-42154

Vulnerability Analysis

Prometheus exposes a remote read endpoint at /api/v1/read that accepts requests encoded with the snappy compression format. The handler reads the declared decoded length from the request and allocates a buffer of that size before validating whether the value is reasonable or matches the actual compressed payload. Because snappy supports high compression ratios, a small request body can declare a very large decoded length. The server honors the declared size and allocates a correspondingly large heap region for each incoming request.

When multiple such requests arrive concurrently, the cumulative memory pressure exceeds available system memory. The Prometheus process is terminated by the operating system out-of-memory killer or crashes when allocation fails. Attackers do not need credentials, since the endpoint accepts unauthenticated requests by default in many deployments.

Root Cause

The root cause is missing input validation on a length field controlled by the client. The remote read handler trusts the snappy-declared decoded length and allocates memory before decompression. A safe implementation would cap the maximum decoded size, stream-decompress with bounded buffers, or verify the declared length against a configured limit prior to allocation.

Attack Vector

The attack vector is network-based and requires no authentication or user interaction. An attacker sends crafted POST requests to /api/v1/read with a small snappy-compressed body that declares an oversized decoded length. Repeated concurrent requests inflate memory usage rapidly until the process crashes. The vulnerability does not affect confidentiality or integrity but produces a complete loss of availability for the monitoring service.

For implementation specifics, see the GitHub Security Advisory GHSA-8rm2-7qqf-34qm and the upstream fixes in Pull Request #18584 and Pull Request #18585.

Detection Methods for CVE-2026-42154

Indicators of Compromise

  • Unexpected POST requests to /api/v1/read from untrusted source addresses, particularly with small body sizes that declare large decoded lengths.
  • Sudden spikes in Prometheus process resident set size (RSS) followed by process restarts or out-of-memory kills.
  • High concurrency of requests to the remote read endpoint from a single client or small set of clients.

Detection Strategies

  • Monitor the Prometheus process metrics process_resident_memory_bytes and go_memstats_alloc_bytes for abnormal growth correlated with /api/v1/read traffic.
  • Inspect HTTP access logs or reverse proxy logs for unauthenticated requests to /api/v1/read and alert on rates above expected baselines.
  • Correlate Prometheus crash events and systemd restart entries with inbound request patterns to the remote read endpoint.

Monitoring Recommendations

  • Forward Prometheus access logs and host-level memory metrics to a centralized analytics platform for correlation.
  • Configure alerting on Prometheus process restarts and on prometheus_http_requests_total{handler="/api/v1/read"} rate anomalies.
  • Track kernel oom-killer events on hosts running Prometheus to identify resource-exhaustion attempts.

How to Mitigate CVE-2026-42154

Immediate Actions Required

  • Upgrade Prometheus to version 3.5.3 or 3.11.3 or later, depending on the deployed release branch.
  • Restrict network access to /api/v1/read using firewall rules, network policies, or reverse proxy ACLs so only trusted clients can reach the endpoint.
  • Place authentication and rate limiting in front of Prometheus through a reverse proxy such as NGINX, Envoy, or an API gateway.

Patch Information

The Prometheus maintainers patched this issue in v3.5.3 and v3.11.3. The fixes validate the declared snappy decoded length and bound buffer allocation in the remote read handler. Review the changes in Pull Request #18584 and Pull Request #18585 before deploying.

Workarounds

  • Disable or block the /api/v1/read endpoint at the reverse proxy layer if remote read functionality is not required.
  • Enforce per-client request body size limits and connection rate limits at the proxy to reduce amplification potential.
  • Run Prometheus with constrained memory limits via cgroups or container resource limits to contain impact and trigger faster recovery.
bash
# Example NGINX reverse proxy snippet to block /api/v1/read and cap body size
location = /api/v1/read {
    return 403;
}

client_max_body_size 1m;
limit_req_zone $binary_remote_addr zone=prom:10m rate=10r/s;

location /api/ {
    limit_req zone=prom burst=20 nodelay;
    proxy_pass http://prometheus_upstream;
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechPrometheus

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-400
  • Technical References
  • GitHub Pull Request #18584

  • GitHub Pull Request #18585

  • GitHub Release v3.11.3

  • GitHub Release v3.5.3

  • GitHub Security Advisory GHSA-8rm2-7qqf-34qm
  • Related CVEs
  • CVE-2022-21698: Prometheus Client Golang DoS Vulnerability

  • CVE-2026-42151: Prometheus Information Disclosure Flaw

  • CVE-2026-40179: Prometheus Monitoring System XSS Vulnerability

  • CVE-2021-29622: Prometheus Open Redirect Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English