CVE-2026-56814
Plug: multipart :length limit is not charged for part headers, enabling unbounded temp-file creation (denial of service)
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-rc.0 before 1.16.6, from 1.17.0 before 1.17.4, from 1.18.0 before 1.18.5, from 1.19.1 before 1.19.5, and from 1.20.0 before 1.20.3.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 1.080% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:59:58.648Z. Public exploit availability is not used to set this status.
CVSS 4.0 · 6.9 · published by EEFCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T12:58:52.770Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:59:58.648Z | CISA KEV |
| cvss | verified | 2026-11-19T12:58:52.770Z | CVE Program |
| epss | verified | 2026-11-19T18:27:25.700Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:52.473Z | OSV |
| affected | verified | 2026-11-19T12:58:52.770Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:58:52.770Z | CVE Program |
Affected versions and configuration
elixir-plug plug; modules: 'Elixir.Plug.Parsers.MULTIPART'; default status: unaffected: 1.4.0-rc.0 to < 1.16.6 [affected; scheme: semver]; 1.17.0 to < 1.17.4 [affected; scheme: semver]; 1.18.0 to < 1.18.5 [affected; scheme: semver]; 1.19.1 to < 1.19.5 [affected; scheme: semver]; 1.20.0 to < 1.20.3 [affected; scheme: semver] elixir-plug plug; modules: 'Elixir.Plug.Parsers.MULTIPART'; default status: unaffected: c52b2f32c90bccd718202bafccb5f95594e30183 to < * [affected; scheme: git]; changes: [{"at":"981597d3a4271ede64373c7a731702a42c500dd6","status":"unaffected"},{"at":"56edca2ce35fe5589cd581644d8a4493fa5f484e","status":"unaffected"},{"at":"0ee8afcc61466dc5f7a8f048d0632c899165b81f","status":"unaffected"},{"at":"cae36053350e5215a4e0ca33cd130af9c5fc6364","status":"unaffected"},{"at":"f7effaed811c00b5f5bf817936bfd9c5df27b7dc","status":"unaffected"},{"at":"df97d3f17f808a9916a7700a701fb85314559d56","status":"unaffected"}]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"cpes": [
"cpe:2.3:a:elixir-plug:plug:*:*:*:*:*:*:*:*"
],
"repo": "https://github.com/elixir-plug/plug",
"vendor": "elixir-plug",
"modules": [
"'Elixir.Plug.Parsers.MULTIPART'"
],
"product": "plug",
"versions": [
{
"status": "affected",
"version": "1.4.0-rc.0",
"lessThan": "1.16.6",
"versionType": "semver"
},
{
"status": "affected",
"version": "1.17.0",
"lessThan": "1.17.4",
"versionType": "semver"
},
{
"status": "affected",
"version": "1.18.0",
"lessThan": "1.18.5",
"versionType": "semver"
},
{
"status": "affected",
"version": "1.19.1",
"lessThan": "1.19.5",
"versionType": "semver"
},
{
"status": "affected",
"version": "1.20.0",
"lessThan": "1.20.3",
"versionType": "semver"
}
],
"packageURL": "pkg:hex/plug",
"packageName": "plug",
"programFiles": [
"lib/plug/parsers/multipart.ex"
],
"collectionURL": "https://repo.hex.pm",
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "'Elixir.Plug.Parsers.MULTIPART':parse_multipart/2"
},
{
"name": "'Elixir.Plug.Parsers.MULTIPART':parse_multipart_headers/5"
},
{
"name": "'Elixir.Plug.Parsers.MULTIPART':parse_multipart_body/4"
},
{
"name": "'Elixir.Plug.Parsers.MULTIPART':parse_multipart_file/4"
}
]
},
{
"cpes": [
"cpe:2.3:a:elixir-plug:plug:*:*:*:*:*:*:*:*"
],
"repo": "https://github.com/elixir-plug/plug",
"vendor": "elixir-plug",
"modules": [
"'Elixir.Plug.Parsers.MULTIPART'"
],
"product": "plug",
"versions": [
{
"status": "affected",
"changes": [
{
"at": "981597d3a4271ede64373c7a731702a42c500dd6",
"status": "unaffected"
},
{
"at": "56edca2ce35fe5589cd581644d8a4493fa5f484e",
"status": "unaffected"
},
{
"at": "0ee8afcc61466dc5f7a8f048d0632c899165b81f",
"status": "unaffected"
},
{
"at": "cae36053350e5215a4e0ca33cd130af9c5fc6364",
"status": "unaffected"
},
{
"at": "f7effaed811c00b5f5bf817936bfd9c5df27b7dc",
"status": "unaffected"
},
{
"at": "df97d3f17f808a9916a7700a701fb85314559d56",
"status": "unaffected"
}
],
"version": "c52b2f32c90bccd718202bafccb5f95594e30183",
"lessThan": "*",
"versionType": "git"
}
],
"packageURL": "pkg:github/elixir-plug/plug",
"packageName": "elixir-plug/plug",
"programFiles": [
"lib/plug/parsers/multipart.ex"
],
"collectionURL": "https://github.com",
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "'Elixir.Plug.Parsers.MULTIPART':parse_multipart/2"
},
{
"name": "'Elixir.Plug.Parsers.MULTIPART':parse_multipart_headers/5"
},
{
"name": "'Elixir.Plug.Parsers.MULTIPART':parse_multipart_body/4"
},
{
"name": "'Elixir.Plug.Parsers.MULTIPART':parse_multipart_file/4"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-56814",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-07-10T14:03:11.744626Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-07-10T14:03:28.156Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "EEF-CVE-2026-56814",
"aliases": [
"CVE-2026-56814",
"GHSA-95qv-c9g9-rm63"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "1.4.0-rc.0"
},
{
"fixed": "1.16.6"
}
]
},
{
"type": "SEMVER",
"events": [
{
"introduced": "1.17.0"
},
{
"fixed": "1.17.4"
}
]
},
{
"type": "SEMVER",
"events": [
{
"introduced": "1.18.0"
},
{
"fixed": "1.18.5"
}
]
},
{
"type": "SEMVER",
"events": [
{
"introduced": "1.19.1"
},
{
"fixed": "1.19.5"
}
]
},
{
"type": "SEMVER",
"events": [
{
"introduced": "1.20.0"
},
{
"fixed": "1.20.3"
}
]
}
],
"package": {
"name": "plug",
"purl": "pkg:hex/plug",
"ecosystem": "Hex"
},
"versions": [
"1.10.0",
"1.10.1",
"1.10.2",
"1.10.3",
"1.10.4",
"1.11.0",
"1.11.1",
"1.12.0",
"1.12.1",
"1.13.0",
"1.13.1",
"1.13.2",
"1.13.3",
"1.13.4",
"1.13.5",
"1.13.6",
"1.14.0",
"1.14.1",
"1.14.2",
"1.15.0",
"1.15.1",
"1.15.2",
"1.15.3",
"1.15.4",
"1.15.5",
"1.15.6",
"1.16.0",
"1.16.1",
"1.16.2",
"1.16.3",
"1.16.4",
"1.16.5",
"1.17.0",
"1.17.1",
"1.17.2",
"1.17.3",
"1.18.0",
"1.18.1",
"1.18.2",
"1.18.3",
"1.18.4",
"1.19.1",
"1.19.2",
"1.19.3",
"1.19.4",
"1.20.0",
"1.20.1",
"1.20.2",
"1.4.0",
"1.4.0-rc.0",
"1.4.1",
"1.4.2",
"1.4.3",
"1.4.4",
"1.4.5",
"1.5.0",
"1.5.0-rc.0",
"1.5.0-rc.1",
"1.5.0-rc.2",
"1.5.1",
"1.6.0",
"1.6.1",
"1.6.2",
"1.6.3",
"1.6.4",
"1.7.0",
"1.7.1",
"1.7.2",
"1.8.0",
"1.8.1",
"1.8.2",
"1.8.3",
"1.9.0"
],
"database_specific": {
"source": "https://cna.erlef.org/osv/EEF-CVE-2026-56814.json"
}
}
],
"severity": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/elixir-plug/plug/security/advisories/GHSA-95qv-c9g9-rm63",
"type": "ADVISORY"
},
{
"url": "https://cna.erlef.org/cves/CVE-2026-56814.html",
"type": "WEB"
},
{
"url": "https://github.com/elixir-plug/plug/commit/c52b2f32c90bccd718202bafccb5f95594e30183",
"type": "WEB"
},
{
"url": "https://github.com/elixir-plug/plug/commit/981597d3a4271ede64373c7a731702a42c500dd6",
"type": "FIX"
},
{
"url": "https://github.com/elixir-plug/plug/commit/56edca2ce35fe5589cd581644d8a4493fa5f484e",
"type": "FIX"
},
{
"url": "https://github.com/elixir-plug/plug/commit/0ee8afcc61466dc5f7a8f048d0632c899165b81f",
"type": "FIX"
},
{
"url": "https://github.com/elixir-plug/plug/commit/cae36053350e5215a4e0ca33cd130af9c5fc6364",
"type": "FIX"
},
{
"url": "https://github.com/elixir-plug/plug/commit/f7effaed811c00b5f5bf817936bfd9c5df27b7dc",
"type": "FIX"
},
{
"url": "https://github.com/elixir-plug/plug/commit/df97d3f17f808a9916a7700a701fb85314559d56",
"type": "FIX"
},
{
"url": "https://hex.pm/packages/plug",
"type": "PACKAGE"
}
],
"relatedGitRanges": [
{
"ranges": [
{
"repo": "https://github.com/elixir-plug/plug",
"type": "GIT",
"events": [
{
"introduced": "c52b2f32c90bccd718202bafccb5f95594e30183"
},
{
"fixed": "981597d3a4271ede64373c7a731702a42c500dd6"
},
{
"fixed": "56edca2ce35fe5589cd581644d8a4493fa5f484e"
},
{
"fixed": "0ee8afcc61466dc5f7a8f048d0632c899165b81f"
},
{
"fixed": "cae36053350e5215a4e0ca33cd130af9c5fc6364"
},
{
"fixed": "f7effaed811c00b5f5bf817936bfd9c5df27b7dc"
},
{
"fixed": "df97d3f17f808a9916a7700a701fb85314559d56"
}
]
}
],
"versions": [
"v1.20.1",
"v1.20.0",
"v1.15.3",
"v1.17.0",
"v1.18.1",
"v1.19.1",
"v1.18.0",
"v1.16.1",
"v1.16.0",
"v1.15.2",
"v1.15.1",
"v1.15.0",
"v1.14.2",
"v1.14.1",
"v1.14.0",
"v1.13.5",
"v1.13.4",
"v1.13.3",
"v1.13.2",
"v1.13.1",
"v1.13.0",
"v1.12.1",
"v1.12.0",
"v1.11.1",
"v1.11.0",
"v1.10.3",
"v1.10.2",
"v1.10.1",
"v1.10.0",
"v1.9.0",
"v1.8.2",
"v1.8.1",
"v1.8.0",
"v1.7.2",
"v1.7.1",
"v1.7.0",
"v1.6.1",
"v1.6.0",
"v1.5.1",
"v1.5.0",
"v1.5.0-rc.2",
"v1.5.0-rc.1",
"v1.4.3",
"v1.5.0-rc.0",
"v1.4.2",
"v1.4.1",
"v1.4.0",
"v1.4.0-rc.0"
],
"database_specific": {
"source": "https://cna.erlef.org/osv/EEF-CVE-2026-56814.json"
}
}
],
"database_specific": {
"cpe_ids": [
"cpe:2.3:a:elixir-plug:plug:*:*:*:*:*:*:*:*"
],
"cwe_ids": [
"CWE-770"
],
"capec_ids": [
"CAPEC-130"
]
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | Hex / package | plug | Not a distribution channel | 1.16.6 | Official record |
| ecosystem-boundary | Hex / package | plug | Not a distribution channel | 1.17.4 | Official record |
| ecosystem-boundary | Hex / package | plug | Not a distribution channel | 1.18.5 | Official record |
| ecosystem-boundary | Hex / package | plug | Not a distribution channel | 1.19.5 | Official record |
| ecosystem-boundary | Hex / package | plug | Not a distribution channel | 1.20.3 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CVE ProgramConsulted: 2026-11-19T12:58:52.770ZArchived source JSON
Source publication: 2026-07-10T11:14:35.574Z
Source modification: 2026-09-24T21:31:15.419ZDocument fingerprint
07ef9c425d88255d18f0e14137a844543583ee153e6ead030b61ec2abe4ac9f5 - OSVConsulted: 2026-11-19T12:52:52.473ZArchived source JSON
Source publication: 2026-07-10T11:14:35.574Z
Source modification: 2026-09-24T21:45:02.547ZDocument fingerprint
41de0ba8569a934a1c321af7799fb0d3e7824e7225f43c5487dd354316bcb03b - CISA KEVConsulted: 2026-11-19T17:59:58.648ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T18:27:25.700ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
ee43a44b7e1f480844512a1e5f7550dbcd87dce3ae7106e1959d51d9ea881441
Official status history
- UNKNOWN → PUBLISHED · · evidence