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-42788

CVE-2026-42788: Bandit HTTP/2 Frame DoS Vulnerability

CVE-2026-42788 is a denial of service flaw in Bandit HTTP/2 server allowing memory exhaustion via oversized frames. Attackers can bypass frame size limits to cause resource depletion. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: May 7, 2026

CVE-2026-42788 Overview

CVE-2026-42788 is an unauthenticated denial-of-service vulnerability in the mtrudel bandit Elixir HTTP server. The flaw resides in Elixir.Bandit.HTTP2.Frame.deserialize/2 within lib/bandit/http2/frame.ex, where the SETTINGS_MAX_FRAME_SIZE limit is enforced only after the full frame payload has been pattern-matched into memory. A remote attacker can advertise frame lengths up to the 24-bit HTTP/2 maximum of approximately 16 MiB, forcing the server to buffer the entire body before the size guard rejects it. The issue is classified under [CWE-770: Allocation of Resources Without Limits or Throttling] and affects bandit versions 0.3.6 through versions prior to 1.11.0.

Critical Impact

An unauthenticated attacker holding multiple concurrent HTTP/2 connections can force the server to buffer far more memory than the negotiated frame size permits, causing memory pressure and denial of service.

Affected Products

  • mtrudel bandit (Elixir HTTP server) versions 0.3.6 through 1.10.x
  • Phoenix and Plug applications using bandit as the HTTP adapter
  • Any Elixir/Erlang service exposing HTTP/2 endpoints via vulnerable bandit releases

Discovery Timeline

  • 2026-05-01 - CVE-2026-42788 published to NVD
  • 2026-05-05 - Last updated in NVD database

Technical Details for CVE-2026-42788

Vulnerability Analysis

The defect is a logic-ordering flaw in HTTP/2 frame deserialization. RFC 9113 specifies a default SETTINGS_MAX_FRAME_SIZE of 16 KiB, with peers free to negotiate higher values up to roughly 16 MiB. Bandit's deserialize/2 function declares a binary pattern match of the form payload::binary-size(length) before any guard clause inspects the announced length. The Erlang/Elixir runtime must materialize the full length bytes into a binary before either the accept or reject branch can execute. Consequently, the server allocates memory proportional to the attacker-controlled length field, regardless of the negotiated max_frame_size.

The vulnerability does not require authentication, prior session state, or valid application data. An attacker only needs to complete the HTTP/2 connection preface and emit frame headers declaring oversized payloads.

Root Cause

The size check executes after binary pattern matching rather than before. The correct sequence is to inspect the 24-bit length field from the 9-byte frame header, compare it against the negotiated SETTINGS_MAX_FRAME_SIZE, and reject the frame with a FRAME_SIZE_ERROR connection error before allocating buffer space for the payload.

Attack Vector

The attack is fully remote and unauthenticated. An attacker opens many concurrent TLS or cleartext HTTP/2 connections, completes the connection preface, and on each connection sends frame headers that advertise lengths approaching the 24-bit maximum. The server buffers up to ~16 MiB per frame per connection, multiplying memory usage across the connection pool until the BEAM virtual machine exhausts available memory or triggers OOM termination.

No exploit code is required beyond a basic HTTP/2 frame generator. See the GitHub Security Advisory GHSA-q6v9-r226-v65f and the upstream commit for the technical fix.

Detection Methods for CVE-2026-42788

Indicators of Compromise

  • Sustained spikes in BEAM virtual machine memory consumption on bandit-fronted services without a corresponding rise in completed requests
  • HTTP/2 connections from a small set of source IPs that open, transmit frame headers, and stall before sending complete payloads
  • Elevated rates of FRAME_SIZE_ERROR (0x6) GOAWAY frames once the patched version is deployed

Detection Strategies

  • Inspect HTTP/2 frame headers at the reverse proxy or WAF and alert on declared frame lengths exceeding the negotiated SETTINGS_MAX_FRAME_SIZE
  • Correlate per-connection memory growth with HTTP/2 frame counts using application telemetry from :telemetry or Prometheus exporters
  • Monitor for many concurrent HTTP/2 connections from a single source that exhibit low request completion rates

Monitoring Recommendations

  • Track BEAM memory metrics (erlang:memory/0) and process counts on bandit hosts and alert on rapid growth
  • Log peer-advertised frame sizes and connection durations to identify abuse patterns
  • Forward HTTP/2 protocol errors and connection-level GOAWAY events to a centralized SIEM or data lake for correlation

How to Mitigate CVE-2026-42788

Immediate Actions Required

  • Upgrade bandit to version 1.11.0 or later in all mix.exs dependencies and redeploy affected services
  • Inventory Phoenix and Plug applications to identify which use bandit versus alternative adapters such as Cowboy
  • Place a hardened reverse proxy in front of bandit endpoints to enforce HTTP/2 frame size limits at the network edge until patching completes

Patch Information

The maintainer fixed the issue in bandit 1.11.0 by validating the frame length field against SETTINGS_MAX_FRAME_SIZE before binary pattern matching the payload. The remediation commit is referenced in the GitHub commit log. Additional details are available in the CNA advisory at cna.erlef.org and the OSV vulnerability report.

Workarounds

  • Terminate HTTP/2 at an upstream proxy (such as nginx, HAProxy, or a CDN) that enforces strict frame size limits before traffic reaches bandit
  • Apply per-IP connection and rate limits to reduce the multiplier available to an attacker abusing many concurrent connections
  • Constrain BEAM memory using OS-level cgroup limits so that exhaustion fails fast and triggers automated restarts rather than host-wide impact
bash
# Upgrade bandit in mix.exs and refresh the lockfile
# {:bandit, "~> 1.11"}
mix deps.update bandit
mix deps.get
mix compile

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechBandit

  • SeverityMEDIUM

  • CVSS Score6.9

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-770
  • Technical References
  • CNA CVE-2026-42788 Details

  • GitHub Bandit Commit Log

  • GitHub Security Advisory GHSA-q6v9-r226-v65f

  • OSV Vulnerability Report EEF-CVE-2026-42788
  • Related CVEs
  • CVE-2026-42786: Bandit WebSocket DoS Vulnerability

  • CVE-2026-39804: Bandit WebSocket Compression DoS Vulnerability

  • CVE-2026-39807: Bandit Auth Bypass Vulnerability

  • CVE-2026-39805: Bandit HTTP Request Smuggling Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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