Skip to main content

Elixir Plug EUVDEUVD-2026-127132

| CVE-2026-120287 MEDIUM
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-11-17 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
    Send multipart/form-data POST to any Plug endpoint
  2. Delivery
    Fill body with header-less parts or empty ':' headers
  3. Exploit
    Parser keeps an uncharged entry per part, bypassing :length
  4. Execution
    Parser process holds 20-80x body size until read completes
  5. Impact
    Exhaust node memory (amplified by concurrency)

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

No authentication, privileges, or user interaction required (PR:N/UI:N). The only prerequisite is a reachable endpoint behind Plug.Parsers configured with the :multipart parser - which is the Phoenix default, so most Phoenix applications qualify out of the box. The attack works against default configurations: the documented :length budget (8,000,000 bytes by default) does NOT bound this input, because part framing, header separators, and line endings are charged zero. The main limiting factor is external: a reverse-proxy or upstream request-body-size cap mitigates it from outside; endpoints without such a cap, or that read full bodies, are exposed. Effective exploitation benefits from concurrency to multiply the per-request 20-80x memory amplification into node-level exhaustion.

Impact

This is a genuine but moderate-priority issue, not a critical one. The CVSS 4.0 base vector (AV:N/AC:L/AT:N/PR:N/UI:N) is the worrying half: the flaw is network-reachable, low-complexity, requires no authentication and no user interaction, and the affected code path (Plug.Parsers with the :multipart parser) is the Phoenix framework default, so reachability is high. The impact half tempers it: VC:N/VI:N and only VA:L - availability-only, partial, with no confidentiality or integrity consequence - yielding the vendor's 6.9 (medium). No EPSS score is present in the input, so probability-of-exploitation cannot be quantified here, and the CVE is NOT in CISA KEV (no confirmed active exploitation). The vuln.today decision label is 'this_month', consistent with a real-but-non-emergency DoS. The mechanism (20-80x memory amplification per request, multiplied by concurrency, with the documented :length control not applying) makes this a credible availability-exhaustion primitive rather than a theoretical one; however the lack of any RCE/data-exposure path, the medium score, and the availability of an external mitigation (reverse-proxy body-size cap) all point to patching in the normal monthly cycle rather than as an emergency. Net: real priority for internet-facing Elixir/Phoenix services lacking an upstream body cap, but not a drop-everything issue.

Exploit ScenarioDerived

An unauthenticated attacker sends an HTTP POST with Content-Type multipart/form-data to any endpoint behind Plug.Parsers' :multipart parser (the Phoenix default), with a body built from thousands of boundary-delimited parts that carry no content-disposition header, or header lines consisting only of ':'. Because the parser charges none of the framing bytes against the :length budget, the request bypasses the 8 MB default limit at any size while the parser process holds 20-80x the body in memory, and a few concurrent such requests can exhaust the node. The GHSA advisory and the fixing-commit tests include the exact malicious request shapes, though the input does not flag a standalone weaponized exploit.

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

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

Alert me

AnalysisAIv1 – Nov 17, 2026

Memory exhaustion in the Elixir Plug multipart parser (1.13.0 through 1.20.3) lets an unauthenticated remote attacker drive a parser process to hold 20 to 80 times the request size in memory by sending multipart bodies composed of parts without headers, or header lines with an empty name and value. The documented :length budget (8,000,000 bytes by default) does not bound these inputs because part delimiters, header separators and line endings are charged zero bytes, so such a request never trips the limit at any size. Any endpoint behind Plug.Parsers configured with the :multipart parser is reachable, which is the Phoenix default; concurrency is needed to turn the per-request amplification into node-level exhaustion, and an upstream request-body-size cap mitigates it from outside. No public exploit code was identified at time of analysis and the issue is not on CISA KEV; this is a genuine but moderate-priority denial-of-service rather than a critical one.

RemediationAI

Vendor-released patch: 1.20.4. Upgrade the plug dependency to 1.20.4 or later, which adds framing charges (6 + 30 bytes per part, 3 bytes per header) so headerless parts and empty header lines count against the :length budget, and also fixes preamble skipping in the streaming parser; the corresponding upstream commits are 3d3fb645323643935c6c94863c1b3edfd62e2828, 497913f2a6d744d693e98e96c5b9c6d88c265695 and e06acbd3d381931f23cbde7d763136c9ccb091ac, with advisory details at https://github.com/elixir-plug/plug/security/advisories/GHSA-qj4r-jh2r-rw3f and https://cna.erlef.org/cves/CVE-2026-120287.html. Where upgrading must be staged, the vendor notes that a reverse proxy or upstream request-body-size cap mitigates the issue from outside the application, since the parser's own :length control does not bound these inputs; the trade-off is that such a cap also rejects legitimately large uploads, so it must be set above the largest expected multipart body and paired with the application's own upload limits. Internal services that accept multipart requests without a proxy body cap should be prioritized for the upgrade, given the 20 to 80 times per-request memory amplification and the effect of concurrent requests.

Affected VersionsENISA

plug 1.13.0 <1.20.4
plug e06acbd3d381931f23cbde7d763136c9ccb091ac <*

Affected Packages

euvd plug fix: 1.20.4

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 Elixir HTTP adapter/connection library that Phoenix applications sit on, and Plug.Parsers.MULTIPART delegates the streaming multipart work to the Erlang module :plug_multipart. The root cause is CWE-770 (Allocation of Resources Without Limits or Throttling): the accounting in lib/plug/parsers/multipart.ex charges the :length budget only with the byte size of each header's name and value plus the bytes of each part body, while the framing bytes - the "--" plus boundary delimiter, the CRLFCRLF header terminator and the per-header ":" and CRLF - cost nothing. Two shapes therefore consume memory at zero budget cost: a part with no headers at all, for which parse_multipart_headers/5 retains a {nil, [], ""} entry together with its header list until the whole body has been read, and a header line consisting of just ":" followed by CRLF, which :plug_multipart accepts as {"", ""} and is charged 0 bytes. Plug.Conn.read_part_headers/2 caps a single header block at min(length, read_length), but nothing bounds the sum across parts, so accumulation is unbounded. The upstream fix charges 6 + 30 bytes of framing per part plus 3 bytes per header, and separately corrects preamble/hand-off handling in src/plug_multipart.erl so a boundary split across reads is no longer dropped, along with regression tests for headerless parts and empty headers. The affected package range is erlang/plug >= 1.13.0 and < 1.20.4; the flaw is present in 1.20.3 and in main at 9f5edc1962, and earlier lines are affected at least as much since the earlier related fix waves (GHSA-468c-vq7p-gh64 and GHSA-95qv-c9g9-rm63) only addressed per-part and file/skipped-part accounting.

Know when Elixir 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 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 5.3 MEDIUM

Unauthenticated, network-reachable multipart endpoint with low complexity and no interaction (AV:N/AC:L/PR:N/UI:N); impact is availability-only and partial per request (A:L), with no confidentiality or integrity effect.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/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
Nov 17, 2026 - 18:02 EUVD

DescriptionCVE.org

Allocation of Resources Without Limits or Throttling vulnerability in Plug.Parsers.MULTIPART in elixir-plug plug allows an unauthenticated remote attacker to exhaust memory via a multipart request body built from parts without headers, or from header lines without a name and a value. The parser charges the :length limit only with the name and value bytes of each part header and the bytes of each part body. The part delimiter, the header separator, and the line endings cost nothing.

In lib/plug/parsers/multipart.ex, Plug.Parsers.MULTIPART.parse_multipart_headers/5 keeps an entry for every part without a content-disposition header, together with its header list, until the whole body is read. A request made of such parts does not reach the limit at any size, and the parser process holds a multiple of the request size in memory until parsing completes. Any endpoint that uses Plug.Parsers with the :multipart parser is reachable.

This issue affects plug: from 1.13.0 before 1.20.4.

Threat Intelligence Overview

EPSS Score
0.7%
Top 45% exploitable
Prevalence
Medium
foundational HTTP layer under all Phoenix/Elixir apps; Elixir is a mid-tier ecosystem
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL 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.7%
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.

More in Elixir

View all
CVE-2026-54451 HIGH POC
8.2 Jul 15

Unbounded recursion in the Elixir `protobuf` Hex package (versions >= 0.8.0, < 0.16.1) lets unauthenticated remote attac

CVE-2026-130411 CRITICAL
9.2 Nov 24

Remote code execution in the Elixir Flop pagination library affects versions 0.8.0 through 0.26.6, 0.27.0 through 0.27.2

CVE-2026-91187 CRITICAL
9.3 Sep 24

Improper JWT signature verification in Dashbit's nimble_zta (0.1.2 up to but not including 0.1.3) lets an unauthenticate

CVE-2026-76949 CRITICAL
9.1 Sep 17

Session-swapping authentication bypass in the Elixir library AshAuthentication (versions 4.10.0 before 4.15.0 and 5.0.0-

CVE-2026-88952 CRITICAL
9.1 Sep 17

Account takeover in AshAuthentication (Elixir/Ash) 4.14.0 through 4.14.x and 5.0.0-rc.10 through 5.0.0-rc.13 lets unauth

CVE-2026-91039 CRITICAL
9.1 Sep 17

Authentication bypass in the Elixir library ash_authentication lets an attacker who operates one federated identity-prov

CVE-2026-77866 CRITICAL
9.0 Sep 15

Server-Side Request Forgery protection bypass in the Elixir safeurl library (versions 0.1.0 and later) allows unauthenti

CVE-2026-133555 HIGH
8.9 Nov 24

Arbitrary code execution in applications running the Elixir db_connection library 1.1.0 through 2.10.2 is possible when

CVE-2026-108529 HIGH
8.7 Oct 26

Unauthenticated remote CPU exhaustion in mtrudel Bandit's HTTP/2 server (versions before 1.14.0) is achievable by holdin

CVE-2026-110499 HIGH
8.7 Oct 26

Unbounded per-connection memory and CPU growth in the Elixir Bandit HTTP/2 server (0.3.6 up to 1.14.0) lets an unauthent

CVE-2026-111101 HIGH
8.7 Oct 26

Unauthenticated remote denial of service in the Elixir HTTP server Bandit (mtrudel/bandit) from 0.1.0 before 1.14.0 lets

CVE-2026-113436 HIGH
8.7 Oct 26

Unauthenticated remote attackers can consume disproportionate server CPU on Bandit (mtrudel/bandit, Elixir/Erlang) by se

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