CVE-2026-54892
Plug: quadratic-time decoding of nested query/body parameters enables denial of service
Inefficient algorithmic complexity in Plug's nested-parameter decoder allows an unauthenticated remote attacker to cause denial of service. Plug.Conn.Query.decode/4 (and Plug.Conn.Query.decode_each/2) parse query strings and application/x-www-form-urlencoded request bodies. When a key contains many bracketed segments such as a[a][a][a]=1, the decoder walks the brackets and, for each of the N levels, performs a map operation keyed on an ever-growing binary prefix of the key, hashing the full byte range at each step. The total decode cost is therefore quadratic in the number of nesting levels. With the default Plug.Parsers.URLENCODED body limit of 1,000,000 bytes, a single request can carry roughly 333,000 nesting levels and saturate a BEAM scheduler for minutes. A small number of concurrent requests can saturate all schedulers and render a Plug-based server unresponsive. No authentication or knowledge of application routes is required. This vulnerability is associated with program files lib/plug/conn/query.ex and program routines Plug.Conn.Query.decode/4, Plug.Conn.Query.decode_each/2, Plug.Conn.Query.split_keys/6, Plug.Conn.Query.insert_keys/3, and Plug.Conn.Query.finalize_pointer/2. This issue affects plug from 1.15.0 before 1.15.5, 1.16.4, 1.17.2, 1.18.3, and 1.19.3.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.894% · 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-19T16:25:55.090Z. Public exploit availability is not used to set this status.
CVSS 4.0 · 8.7 · published by EEFCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T12:58:50.462Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:25:55.090Z | CISA KEV |
| cvss | verified | 2026-11-19T12:58:50.462Z | CVE Program |
| epss | verified | 2026-11-19T16:04:52.292Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:52.473Z | OSV |
| affected | verified | 2026-11-19T12:58:50.462Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:58:50.462Z | CVE Program |
Affected versions and configuration
elixir-plug plug; modules: 'Elixir.Plug.Conn.Query'; default status: unaffected: 1.15.0 to < 1.15.5 [affected; scheme: semver]; 1.16.0 to < 1.16.4 [affected; scheme: semver]; 1.17.0 to < 1.17.2 [affected; scheme: semver]; 1.18.0 to < 1.18.3 [affected; scheme: semver]; 1.19.0 to < 1.19.3 [affected; scheme: semver] elixir-plug plug; modules: 'Elixir.Plug.Conn.Query'; default status: unaffected: 712b875d3442c765d8d37e546ffd5ad9f8afcc55 to < * [affected; scheme: git]; changes: [{"at":"c317d08fdcf96e17931f7419275b2b8c4bf3e951","status":"unaffected"},{"at":"9c5d37c440eaae92869eed7c014c47266744fadb","status":"unaffected"},{"at":"d737eb236f17e31a36290e39f9ef3cd86a1343bd","status":"unaffected"},{"at":"d4e5568392a4b29e545b91e12e87d6098f976145","status":"unaffected"},{"at":"a61124aa625d819a218fb07f90afbac8aa85eb0e","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.Conn.Query'"
],
"product": "plug",
"versions": [
{
"status": "affected",
"version": "1.15.0",
"lessThan": "1.15.5",
"versionType": "semver"
},
{
"status": "affected",
"version": "1.16.0",
"lessThan": "1.16.4",
"versionType": "semver"
},
{
"status": "affected",
"version": "1.17.0",
"lessThan": "1.17.2",
"versionType": "semver"
},
{
"status": "affected",
"version": "1.18.0",
"lessThan": "1.18.3",
"versionType": "semver"
},
{
"status": "affected",
"version": "1.19.0",
"lessThan": "1.19.3",
"versionType": "semver"
}
],
"packageURL": "pkg:hex/plug",
"packageName": "plug",
"programFiles": [
"lib/plug/conn/query.ex"
],
"collectionURL": "https://repo.hex.pm",
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "'Elixir.Plug.Conn.Query':decode/4"
},
{
"name": "'Elixir.Plug.Conn.Query':decode_each/2"
},
{
"name": "'Elixir.Plug.Conn.Query':split_keys/6"
},
{
"name": "'Elixir.Plug.Conn.Query':insert_keys/3"
},
{
"name": "'Elixir.Plug.Conn.Query':finalize_pointer/2"
}
]
},
{
"cpes": [
"cpe:2.3:a:elixir-plug:plug:*:*:*:*:*:*:*:*"
],
"repo": "https://github.com/elixir-plug/plug",
"vendor": "elixir-plug",
"modules": [
"'Elixir.Plug.Conn.Query'"
],
"product": "plug",
"versions": [
{
"status": "affected",
"changes": [
{
"at": "c317d08fdcf96e17931f7419275b2b8c4bf3e951",
"status": "unaffected"
},
{
"at": "9c5d37c440eaae92869eed7c014c47266744fadb",
"status": "unaffected"
},
{
"at": "d737eb236f17e31a36290e39f9ef3cd86a1343bd",
"status": "unaffected"
},
{
"at": "d4e5568392a4b29e545b91e12e87d6098f976145",
"status": "unaffected"
},
{
"at": "a61124aa625d819a218fb07f90afbac8aa85eb0e",
"status": "unaffected"
}
],
"version": "712b875d3442c765d8d37e546ffd5ad9f8afcc55",
"lessThan": "*",
"versionType": "git"
}
],
"packageURL": "pkg:github/elixir-plug/plug",
"packageName": "elixir-plug/plug",
"programFiles": [
"lib/plug/conn/query.ex"
],
"collectionURL": "https://github.com",
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "'Elixir.Plug.Conn.Query':decode/4"
},
{
"name": "'Elixir.Plug.Conn.Query':decode_each/2"
},
{
"name": "'Elixir.Plug.Conn.Query':split_keys/6"
},
{
"name": "'Elixir.Plug.Conn.Query':insert_keys/3"
},
{
"name": "'Elixir.Plug.Conn.Query':finalize_pointer/2"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-54892",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-06-23T13:03:58.893269Z"
}
}
}
],
"references": [
{
"url": "https://github.com/elixir-plug/plug/security/advisories/GHSA-j43x-5hjq-rgxf",
"tags": [
"exploit"
]
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-06-23T13:04:27.014Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "EEF-CVE-2026-54892",
"aliases": [
"CVE-2026-54892",
"GHSA-j43x-5hjq-rgxf"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "1.15.0"
},
{
"fixed": "1.15.5"
}
]
},
{
"type": "SEMVER",
"events": [
{
"introduced": "1.16.0"
},
{
"fixed": "1.16.4"
}
]
},
{
"type": "SEMVER",
"events": [
{
"introduced": "1.17.0"
},
{
"fixed": "1.17.2"
}
]
},
{
"type": "SEMVER",
"events": [
{
"introduced": "1.18.0"
},
{
"fixed": "1.18.3"
}
]
},
{
"type": "SEMVER",
"events": [
{
"introduced": "1.19.0"
},
{
"fixed": "1.19.3"
}
]
}
],
"package": {
"name": "plug",
"purl": "pkg:hex/plug",
"ecosystem": "Hex"
},
"versions": [
"1.15.0",
"1.15.1",
"1.15.2",
"1.15.3",
"1.15.4",
"1.16.0",
"1.16.1",
"1.16.2",
"1.16.3",
"1.17.0",
"1.17.1",
"1.18.0",
"1.18.1",
"1.18.2",
"1.19.0",
"1.19.1",
"1.19.2"
],
"database_specific": {
"source": "https://cna.erlef.org/osv/EEF-CVE-2026-54892.json"
}
}
],
"severity": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/elixir-plug/plug/security/advisories/GHSA-j43x-5hjq-rgxf",
"type": "ADVISORY"
},
{
"url": "https://cna.erlef.org/cves/CVE-2026-54892.html",
"type": "WEB"
},
{
"url": "https://github.com/elixir-plug/plug/commit/c317d08fdcf96e17931f7419275b2b8c4bf3e951",
"type": "FIX"
},
{
"url": "https://github.com/elixir-plug/plug/commit/9c5d37c440eaae92869eed7c014c47266744fadb",
"type": "FIX"
},
{
"url": "https://github.com/elixir-plug/plug/commit/d737eb236f17e31a36290e39f9ef3cd86a1343bd",
"type": "FIX"
},
{
"url": "https://github.com/elixir-plug/plug/commit/d4e5568392a4b29e545b91e12e87d6098f976145",
"type": "FIX"
},
{
"url": "https://github.com/elixir-plug/plug/commit/a61124aa625d819a218fb07f90afbac8aa85eb0e",
"type": "FIX"
},
{
"url": "https://hex.pm/packages/plug",
"type": "PACKAGE"
}
],
"relatedGitRanges": [
{
"ranges": [
{
"repo": "https://github.com/elixir-plug/plug",
"type": "GIT",
"events": [
{
"introduced": "712b875d3442c765d8d37e546ffd5ad9f8afcc55"
},
{
"fixed": "c317d08fdcf96e17931f7419275b2b8c4bf3e951"
},
{
"fixed": "9c5d37c440eaae92869eed7c014c47266744fadb"
},
{
"fixed": "d737eb236f17e31a36290e39f9ef3cd86a1343bd"
},
{
"fixed": "d4e5568392a4b29e545b91e12e87d6098f976145"
},
{
"fixed": "a61124aa625d819a218fb07f90afbac8aa85eb0e"
}
]
}
],
"versions": [],
"database_specific": {
"source": "https://cna.erlef.org/osv/EEF-CVE-2026-54892.json"
}
}
],
"database_specific": {
"cpe_ids": [
"cpe:2.3:a:elixir-plug:plug:*:*:*:*:*:*:*:*"
],
"cwe_ids": [
"CWE-407"
],
"capec_ids": [
"CAPEC-229"
]
}
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-j43x-5hjq-rgxf",
"aliases": [
"CVE-2026-54892",
"EEF-CVE-2026-54892"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "1.15.0"
},
{
"fixed": "1.15.5"
}
]
}
],
"package": {
"name": "plug",
"purl": "pkg:hex/plug",
"ecosystem": "Hex"
},
"versions": [
"1.15.0",
"1.15.1",
"1.15.2",
"1.15.3",
"1.15.4"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-j43x-5hjq-rgxf/GHSA-j43x-5hjq-rgxf.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "1.16.0"
},
{
"fixed": "1.16.4"
}
]
}
],
"package": {
"name": "plug",
"purl": "pkg:hex/plug",
"ecosystem": "Hex"
},
"versions": [
"1.16.0",
"1.16.1",
"1.16.2",
"1.16.3"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-j43x-5hjq-rgxf/GHSA-j43x-5hjq-rgxf.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "1.17.0"
},
{
"fixed": "1.17.2"
}
]
}
],
"package": {
"name": "plug",
"purl": "pkg:hex/plug",
"ecosystem": "Hex"
},
"versions": [
"1.17.0",
"1.17.1"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-j43x-5hjq-rgxf/GHSA-j43x-5hjq-rgxf.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "1.18.0"
},
{
"fixed": "1.18.3"
}
]
}
],
"package": {
"name": "plug",
"purl": "pkg:hex/plug",
"ecosystem": "Hex"
},
"versions": [
"1.18.0",
"1.18.1",
"1.18.2"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-j43x-5hjq-rgxf/GHSA-j43x-5hjq-rgxf.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "1.19.0"
},
{
"fixed": "1.19.3"
}
]
}
],
"package": {
"name": "plug",
"purl": "pkg:hex/plug",
"ecosystem": "Hex"
},
"versions": [
"1.19.0",
"1.19.1",
"1.19.2"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-j43x-5hjq-rgxf/GHSA-j43x-5hjq-rgxf.json"
}
}
],
"severity": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/elixir-plug/plug/security/advisories/GHSA-j43x-5hjq-rgxf",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-54892",
"type": "ADVISORY"
},
{
"url": "https://github.com/elixir-plug/plug/commit/9c5d37c440eaae92869eed7c014c47266744fadb",
"type": "WEB"
},
{
"url": "https://github.com/elixir-plug/plug/commit/a61124aa625d819a218fb07f90afbac8aa85eb0e",
"type": "WEB"
},
{
"url": "https://github.com/elixir-plug/plug/commit/c317d08fdcf96e17931f7419275b2b8c4bf3e951",
"type": "WEB"
},
{
"url": "https://github.com/elixir-plug/plug/commit/d4e5568392a4b29e545b91e12e87d6098f976145",
"type": "WEB"
},
{
"url": "https://github.com/elixir-plug/plug/commit/d737eb236f17e31a36290e39f9ef3cd86a1343bd",
"type": "WEB"
},
{
"url": "https://cna.erlef.org/cves/CVE-2026-54892.html",
"type": "WEB"
},
{
"url": "https://github.com/elixir-plug/plug",
"type": "PACKAGE"
},
{
"url": "https://github.com/elixir-plug/plug/blob/v1.19.3/CHANGELOG.md#v1193-2026-06-23",
"type": "WEB"
},
{
"url": "https://osv.dev/vulnerability/EEF-CVE-2026-54892",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-407"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2026-06-23T13:16:43Z",
"github_reviewed_at": "2026-09-23T14:00:22Z"
}
}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.15.5 | Official record |
| ecosystem-boundary | Hex / package | plug | Not a distribution channel | 1.16.4 | Official record |
| ecosystem-boundary | Hex / package | plug | Not a distribution channel | 1.17.2 | Official record |
| ecosystem-boundary | Hex / package | plug | Not a distribution channel | 1.18.3 | Official record |
| ecosystem-boundary | Hex / package | plug | Not a distribution channel | 1.19.3 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:52.473ZArchived source JSON
Source publication: 2026-06-23T12:31:12.629Z
Source modification: 2026-07-30T18:22:02.525ZDocument fingerprint
41de0ba8569a934a1c321af7799fb0d3e7824e7225f43c5487dd354316bcb03b - OSVConsulted: 2026-11-19T12:52:52.473ZArchived source JSON
Source publication: 2026-09-23T14:00:22.000Z
Source modification: 2026-09-23T14:15:04.788ZDocument fingerprint
41de0ba8569a934a1c321af7799fb0d3e7824e7225f43c5487dd354316bcb03b - CVE ProgramConsulted: 2026-11-19T12:58:50.462ZArchived source JSON
Source publication: 2026-06-23T12:31:12.629Z
Source modification: 2026-06-23T18:21:14.232ZDocument fingerprint
7c3ccacb6b457ac63e6fc88cea3658d1aabae701e3a1716a36626ea3a045f811 - CISA KEVConsulted: 2026-11-19T16:25:55.090ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:52.292ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
0d84b03fefd8b98c35ff48b41c93fc695fb5d5ea3135764678445722abcd97c6
Official status history
- UNKNOWN → PUBLISHED · · evidence