Skip to main content

plug_cowboy EUVDEUVD-2026-25845

| CVE-2026-32688 HIGH
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-04-27 6b3ad84c-e1a6-4bf7-a703-f496b71e49db GHSA-q8x4-x7mp-5vg2
8.7
CVSS 4.0 · Vendor: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Connect via HTTP/2 to target
  2. Delivery
    Send requests with unique :scheme values
  3. Exploit
    Trigger String.to_atom on unsanitized input
  4. Execution
    Exhaust BEAM atom table
  5. Persist
    VM aborts with system_limit
  6. Impact
    Full node outage

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

HTTP/2 must be enabled on the Cowboy listener configuration. The vulnerable code path is only triggered when clients connect via HTTP/2 and the :scheme pseudo-header is processed by :cowboy_req.scheme/1 and passed to String.to_atom/1. Applications configured to accept only HTTP/1.1 connections are not exploitable. No authentication, special privileges, or user interaction required (PR:N, UI:N in CVSS vector). Default plug_cowboy installations typically support HTTP/2 if the underlying Cowboy version and TLS configuration allow it, making many deployments vulnerable by default. Attack is not limited by rate limiting or WAF rules unless those systems specifically inspect and restrict HTTP/2 pseudo-headers, which is uncommon.

Impact

Real-world risk is HIGH for production Elixir applications using plug_cowboy 2.0.0-2.8.0 with HTTP/2 enabled. CVSS 8.7 correctly reflects the severity: AV:N (network-accessible), AC:L (trivial to exploit), PR:N (unauthenticated), VA:H (total availability loss). The attack is automatable - a single attacker can send scripted HTTP/2 requests with incrementing scheme values until the atom table fills. Unlike typical DoS requiring sustained traffic, this causes permanent VM termination requiring manual restart. EPSS data not provided, but exploitation likelihood is elevated given the low technical barrier and public disclosure in GitHub Security Advisory GHSA-q8x4-x7mp-5vg2. Not in CISA KEV suggests no confirmed mass exploitation yet, but the attack primitive is well-understood in the Erlang/Elixir community. SSVC: exploitation=public (documented in advisory), automatable=yes, technical_impact=total (node crash). This is a prioritize-now vulnerability for any internet-facing Elixir service using HTTP/2.

Exploit ScenarioDerived

An attacker writes a simple script using curl, h2load, or any HTTP/2 client library to send requests to the target Elixir application with incrementing :scheme pseudo-header values (e.g., :scheme: http-variant-00001, :scheme: http-variant-00002, etc.). Each unique value creates a new atom in the BEAM VM's atom table. After sending ~1 million unique requests (or fewer if the atom table is already partially filled by application logic), the atom table reaches system_limit. The Erlang VM aborts immediately, terminating the entire node and all services running on it. The attack requires no authentication, no special permissions, and can be executed from any network location that can reach the HTTP/2 endpoint.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 27, 2026

Atom table exhaustion in plug_cowboy 2.0.0-2.8.0 allows remote denial of service via HTTP/2. Unauthenticated attackers can crash the Erlang VM by sending HTTP/2 requests with unique :scheme pseudo-header values, permanently filling the non-garbage-collected atom table until the system_limit is reached. Affects only HTTP/2 connections; HTTP/1.1 is not vulnerable. CVSS 8.7 (High) with network attack vector, low complexity, and no required privileges. No active exploitation confirmed (not in CISA KEV), but exploit is trivial given the publicly documented attack mechanism in the GitHub advisory.

RemediationAI

Upgrade to plug_cowboy version 2.8.1 or later, which contains the fix from commit bfb34cb45eb354e56437f7023fb306de1bf9c19b (available at https://github.com/elixir-plug/plug_cowboy/commit/bfb34cb45eb354e56437f7023fb306de1bf9c19b). If immediate upgrade is not feasible, disable HTTP/2 support in Cowboy listener configuration as a temporary workaround - configure listeners to accept only HTTP/1.1 connections. This mitigation prevents the attack vector but sacrifices HTTP/2 performance benefits and may break clients requiring HTTP/2. Another option is to deploy a reverse proxy (nginx, HAProxy, Envoy) that terminates HTTP/2 and forwards only HTTP/1.1 to the backend plug_cowboy application, though this adds infrastructure complexity and latency. All workarounds should be considered temporary; upgrading to 2.8.1+ is the definitive fix. Review application dependency chains to ensure transitive dependencies also use the patched version.

Affected VersionsENISA

plug_cowboy 2.0.0 <2.8.1
plug_cowboy 12ecfd024bb179d48b018fecf074e43fe6a19c83 <bfb34cb45eb354e56437f7023fb306de1bf9c19b

Affected Packages

euvd plug_cowboy fix: 2.8.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability exists in Plug.Cowboy.Conn.conn/1 (lib/plug/cowboy/conn.ex) within the plug_cowboy library, an Elixir adapter for the Cowboy HTTP server. The function calls String.to_atom/1 on the value returned by :cowboy_req.scheme/1. In HTTP/2, the underlying cowlib library passes the client-supplied :scheme pseudo-header directly without validation. Erlang/BEAM atoms are permanent identifiers stored in a fixed-size table (default 1,048,576 entries) and are never garbage-collected. This CWE-770 (Allocation of Resources Without Limits or Throttling) flaw allows attackers to exhaust this resource by creating unique atoms from each malicious request. HTTP/1.1 connections are unaffected because cowboy derives the scheme from the listener configuration rather than client input. The fix (commit bfb34cb) likely validates or sanitizes scheme values before atom conversion.

Know when Plug Cowboy gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (6b3ad84c-e1a6-4bf7-a703-f496b71e49db) PRIMARY 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (6b3ad84c-e1a6-4bf7-a703-f496b71e49db) · only source for this CVE.

CVSS VectorVendor: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Patch released
Apr 27, 2026 - 18:57 nvd
Patch available
Patch available
Apr 27, 2026 - 15:01 EUVD
CVE Published
Apr 27, 2026 - 14:16 nvd
HIGH 8.7

DescriptionCVE.org

Allocation of Resources Without Limits or Throttling vulnerability in elixir-plug plug_cowboy allows unauthenticated remote denial of service via atom table exhaustion.

Plug.Cowboy.Conn.conn/1 in lib/plug/cowboy/conn.ex calls String.to_atom/1 on the value returned by :cowboy_req.scheme/1. For HTTP/2 connections, cowlib passes the client-supplied :scheme pseudo-header value through verbatim without validation. Each unique value permanently allocates a new entry in the BEAM atom table. Since atoms are never garbage-collected and the atom table has a fixed limit (default 1,048,576), an unauthenticated attacker can exhaust the table by sending HTTP/2 requests with unique :scheme values, causing the Erlang VM to abort with system_limit and taking down the entire node.

This vulnerability does not affect HTTP/1.1, where cowboy derives the scheme from the listener type rather than from a client-supplied header.

This issue affects plug_cowboy: from 2.0.0 before 2.8.1.

Executive ViewAI

Why It Matters

plug_cowboy versions 2.0.0 through 2.8.0 contain a remote denial-of-service vulnerability in HTTP/2 handling that allows unauthenticated attackers to exhaust the Erlang atom table and crash the virtual machine. Organizations running these versions with HTTP/2 enabled face immediate availability risk, as the attack requires no authentication and can be executed trivially by any network-connected attacker.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable HTTP/2 protocol support and enforce HTTP/1.1 only; (2) Implement network-level rate limiting or request filtering on :scheme pseudo-header variation; (3) Configure Erlang VM atom table limits and system monitoring to detect and alert on atom table exhaustion; (4) Place affected applications behind a reverse proxy (e.g., nginx, HAProxy) configured to reject or normalize HTTP/2 requests with anomalous pseudo-headers.

Threat Intelligence Overview

EPSS Score
0.1%
Top 73% exploitable
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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