Home / elixir-plug / plug / CVE-2026-120287
CVE-2026-120287: is it exploited, and which versions of elixir-plug plug are affected and fixed?
CVE-2026-120287 is a denial of service (resources allocated without limits) vulnerability in elixir-plug plug. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 19:09 UTC). Affected: plug from 1.13.0 before 1.20.4 (CVE record by EEF). Fixed in 1.20.4 (CVE record by EEF). Severity: Medium (6.9, CVSS 4.0, from EEF).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 19:09 UTC, CVE record November 20, 2026, 06:04 UTC and NVD November 23, 2026, 16:08 UTC.
What is CVE-2026-120287?
Multipart `:length` limit not charged for part and header framing in Plug.Parsers.MULTIPART
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.
From the CVE record by EEF, last updated November 20, 2026, 05:55 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| elixir-plug | plug | from 1.13.0 before 1.20.4 | 1.20.4 |
| elixir-plug | plug elixir-plug/plug | not stated |
As the CVE record by EEF states it, last updated November 20, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-120287?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.9 | CVSS 4.0 | 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 | EEF |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-120287 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, November 17, 2026)
- EPSS
- 0.56% probability of exploitation activity in the next 30 days, percentile 48.2 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-770 Allocation of Resources Without Limits or Throttling
Is there a workaround? (from the CVE record)
Limit the request body size in a reverse proxy in front of the application, for example with client_max_body_size in nginx. The proxy rejects a larger body before it reaches the parser. This limits the memory that one request can hold but does not remove the multiplication: a body below the proxy limit still passes the :length limit.
Where are the vendor advisories and references?
- Plug.Parsers.MULTIPART does not charge all consumed multipart bytes against `:length`, allowing unbounded part accumulation and memory exhaustion vendor-advisory, related
- EEF CNA record for CVE-2026-120287 related
- OSV record EEF-CVE-2026-120287 related
- Introducing commit e06acbd in elixir-plug/plug related
- Fix commit 3d3fb64 in elixir-plug/plug patch
- Fix commit 497913f in elixir-plug/plug patch
Who found and reported it?
- Neil Berkman / Xuku LLC (finder)
- Neil Berkman / Xuku LLC (reporter)
- Jonatan Männchen / EEF (coordinator)
- José Valim (remediation developer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- November 17, 2026
- Published
- November 17, 2026, 16:53 UTC
- CVE record updated
- November 20, 2026, 05:55 UTC by EEF
- NVD
- Deferred, last modified November 23, 2026, 15:08 UTC
- Last checked
- CVE list November 20, 2026, 06:04 UTC; NVD November 23, 2026, 16:08 UTC; KEV December 3, 2026, 19:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect plug?
- Oct 23, 2026CVE-2026-105963 elixir-plug plug: sensitive information written to log files
- Jul 10, 2026CVE-2026-56813 elixir-plug plug: improper Neutralization of Parameter/Argument Delimiters
- Jul 10, 2026CVE-2026-56814 elixir-plug plug: denial of service (resources allocated without limits)
- Jun 23, 2026CVE-2026-54892 elixir-plug plug: denial of service through slow algorithm
- May 14, 2026CVE-2026-8468 elixir-plug plug: denial of service (resources allocated without limits)
Questions about CVE-2026-120287
Is CVE-2026-120287 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 19:09 UTC. FIRST's EPSS gives it a 0.56% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of elixir-plug plug are affected by CVE-2026-120287?
plug from 1.13.0 before 1.20.4, per the CVE record by EEF. The tables above give every range the sources list.
Which version fixes CVE-2026-120287?
1.20.4, per the CVE record by EEF. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-120287?
Medium (6.9, CVSS 4.0, from EEF). The severity table above shows each score with its source.
Where is the official record of CVE-2026-120287?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.