Skip to main content

Elixir Plug EUVDEUVD-2026-42873

| CVE-2026-56814 MEDIUM
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-07-10 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
6.9
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
    Identify reachable multipart endpoint
  2. Delivery
    Craft HTTP POST with thousands of empty-body file parts
  3. Exploit
    Submit single request under :length limit
  4. Execution
    Server creates one temporary file per part via Plug.Upload
  5. Persist
    Filesystem inodes and disk exhausted
  6. Impact
    Application denies service to all users

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

The only prerequisite is HTTP reachability of an endpoint that uses Plug.Parsers with the :multipart parser - which includes any file upload form in a Phoenix or Plug-based application. No authentication is required (CVSS PR:N confirmed). No special server configuration is needed to be vulnerable; the default Plug configuration with the default :length of 8,000,000 bytes is affected. Exploitation is constrained to applications running affected plug versions (1.4.0-1.16.5, 1.17.0-1.17.3, 1.18.0-1.18.4, 1.19.0-1.19.4, 1.20.0-1.20.2). Applications that do not expose any multipart/form-data endpoints, or that place all such endpoints behind authentication, substantially reduce their exposed attack surface.

Impact

The CVSS 4.0 base score of 6.9 (Medium) with VA:L understates the practical impact for resource-constrained or high-traffic deployments: the description explicitly states the attack leads to inode and disk exhaustion and unbounded memory growth from a single request, which is characteristic of a high availability impact. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) correctly captures that this is a remote, unauthenticated, low-complexity, no-interaction attack - the most favorable attacker posture. No KEV listing and no POC are reported, so active exploitation has not been confirmed by CISA or NVD. However, the attack primitive is fully described in the CVE text and requires no reverse engineering; a working exploit is trivially derivable. EPSS data was not provided in the input. Real-world risk priority is moderate-to-high for Phoenix/Plug-based services that expose unauthenticated or lightly-authenticated multipart endpoints (e.g., public file upload forms), and low for applications that either do not use multipart parsing or protect such endpoints behind authentication.

Exploit ScenarioDerived

An attacker discovers a public file-upload endpoint on a Phoenix application and sends a single HTTP POST with Content-Type: multipart/form-data containing several thousand MIME parts, each consisting only of headers (Content-Disposition: form-data; name="f"; filename="x") followed by an empty body. The total request body remains well under the default 8MB :length limit while the server creates thousands of temporary files, rapidly consuming filesystem inodes and disk space, and accumulating Plug.Upload structs in memory until the application process crashes or the OS rejects further file creation.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.6% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 10, 2026

Denial of service in Elixir's Plug library (versions 1.4.0 through 1.20.2) allows unauthenticated remote attackers to exhaust filesystem inodes, disk space, and server memory via a single crafted multipart HTTP request. The Plug.Parsers.MULTIPART component charges its configurable :length limit only against part body bytes, meaning part headers are never counted and parts with empty bodies cost exactly zero - yet each such part with a filename triggers creation of a Plug.Upload struct and a real temporary file on disk. No public exploit has been identified at time of analysis, though the technique is trivially reproducible from the description alone against any application exposing a multipart endpoint.

RemediationAI

Upgrade to a patched release: plug 1.16.6, 1.17.4, 1.18.5, 1.19.5, or 1.20.3, depending on your current minor line. Six upstream commits address the issue across affected branches: 0ee8afcc61, 56edca2ce3, 981597d3a4, cae360533, df97d3f17f, and f7effaed81 (https://github.com/elixir-plug/plug). The full advisory at https://github.com/elixir-plug/plug/security/advisories/GHSA-95qv-c9g9-rm63 should be consulted for branch-specific guidance. If an immediate upgrade is not possible, compensating controls include: placing a reverse proxy (nginx, Caddy) in front of the application configured to enforce a per-request maximum number of multipart parts (e.g., nginx client_max_body_size combined with limiting multipart field counts at the WAF layer) - note this adds operational complexity and may break legitimate large-form submissions; alternatively, requiring authentication before any multipart endpoint is reachable eliminates unauthenticated exploitation but does not protect against malicious authenticated users.

Affected VersionsENISA

plug c52b2f32c90bccd718202bafccb5f95594e30183 <*
plug 1.18.0 <1.18.5
plug 1.17.0 <1.17.4
plug 1.4.0 <1.16.6
plug 1.19.0 <1.19.5
plug 1.20.0 <1.20.3

Affected Packages

euvd plug fix: 1.16.6, 1.17.4, 1.18.5, 1.19.5, 1.20.3

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

Plug is the de facto HTTP middleware specification and toolkit for Elixir web applications; the Phoenix framework, which dominates Elixir web development, depends on it directly. The affected component, Plug.Parsers.MULTIPART (lib/plug/parsers/multipart.ex), handles multipart/form-data request bodies - the MIME format used for file uploads and rich form submissions. CWE-770 (Allocation of Resources Without Limits or Throttling) describes the root cause: the parser's resource accounting is incomplete. Per the description, the functions parse_multipart/2, parse_multipart_headers/5, parse_multipart_body/4, and parse_multipart_file/4 all participate in the flaw. The default :length limit of 8,000,000 bytes was intended to bound memory and disk consumption per request, but because part header bytes are excluded from this accounting and empty-body parts cost zero, the limit can be trivially bypassed. Each part with a non-empty Content-Disposition filename field creates a temporary file via Plug.Upload regardless of whether the body contains any data.

Know when the next one hits your stack

  • 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 6.9 MEDIUM
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
vuln.today AI 7.5 HIGH

Network-reachable, unauthenticated, zero-complexity attack; A:H because a single request can fully exhaust inodes, disk, and memory, crashing the application.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
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).

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
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Jul 10, 2026 - 13:01 EUVD

DescriptionCVE.org

Plug.Parsers.MULTIPART, the multipart request-body parser used to handle file uploads and multipart forms, does not enforce its :length budget against all consumed resources, allowing an unauthenticated remote attacker to cause denial of service. The parser charges the :length limit only for part body bytes; part header bytes are never counted, and a part with an empty body costs zero.

Because every part whose Content-Disposition carries a non-empty filename creates a fresh temporary file (via Plug.Upload) and retains a Plug.Upload struct for the duration of the request, an attacker can send a single request composed of many empty-body file parts. Such a request stays well under the configured :length limit (8,000,000 bytes by default) while creating one temporary file per part, leading to inode and disk exhaustion and unbounded memory growth. Any application using Plug.Parsers with the :multipart parser is affected, and no authentication is required, only reachability of a multipart endpoint over HTTP.

This vulnerability is associated with program files lib/plug/parsers/multipart.ex and program routines Plug.Parsers.MULTIPART.parse_multipart/2, Plug.Parsers.MULTIPART.parse_multipart_headers/5, Plug.Parsers.MULTIPART.parse_multipart_body/4, and Plug.Parsers.MULTIPART.parse_multipart_file/4.

This issue affects plug: from 1.4.0 before 1.16.6, from 1.17.0 before 1.17.4, from 1.18.0 before 1.18.5, from 1.19.0 before 1.19.5, and from 1.20.0 before 1.20.3.

Threat Intelligence Overview

EPSS Score
0.6%
Top 56% exploitable
Prevalence
Medium
core middleware for Elixir/Phoenix, moderately deployed in production
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment 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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

35
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +34
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