CVEMETERBack to radar
OFFICIAL RECORD · Erlang/Elixir packages

CVE-2026-54892

PUBLISHEDOfficial status check: verifiedCVSS 4.0: 8.7 · high

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 EEF
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
Assessment source · checked 2026-11-19T12:58:50.462Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T16:25:55.090ZCISA KEV
cvssverified2026-11-19T12:58:50.462ZCVE Program
epssverified2026-11-19T16:04:52.292ZFIRST EPSS
patchesverified2026-11-19T12:52:52.473ZOSV
affectedverified2026-11-19T12:58:50.462ZCVE Program
lifecycleverified2026-11-19T12:58:50.462ZCVE 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 JSON
OSV · 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 JSON
OSV · 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 JSON

Correction 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 typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundaryHex / packageplugNot a distribution channel1.15.5Official record
ecosystem-boundaryHex / packageplugNot a distribution channel1.16.4Official record
ecosystem-boundaryHex / packageplugNot a distribution channel1.17.2Official record
ecosystem-boundaryHex / packageplugNot a distribution channel1.18.3Official record
ecosystem-boundaryHex / packageplugNot a distribution channel1.19.3Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history