cve.bz

CVE-2026-54892 elixir-plug plug: Inefficient Algorithmic Complexity

8.7 highEPSS 0.9%Fix available

High (8.7) in elixir-plug plug. EPSS 0.9% estimated probability of exploitation activity in the next 30 days. Fixed in plug 1.15.5, 1.16.4, 1.17.2.

On this page
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.

Severity

CVSS 4.0

8.7 high
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
EPSS
0.9% (unchanged from 0.9% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 60th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2026-06-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-407 Inefficient Algorithmic Complexity
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • plug (Hex): fixed in 1.15.5, 1.16.4, 1.17.2, 1.18.3, 1.19.3

Ask an AI about this CVE

Show the promptExplain CVE-2026-54892 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-54892?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-54892?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-54892 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
elixir-plug plugfrom 1.15.0 before 1.15.5
elixir-plug plugfrom 1.16.0 before 1.16.4
elixir-plug plugfrom 1.17.0 before 1.17.2
elixir-plug plugfrom 1.18.0 before 1.18.3
elixir-plug plugfrom 1.19.0 before 1.19.3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
EEF-CVE-2026-54892Hexplug>=1.15.0 <1.15.5
>=1.16.0 <1.16.4
>=1.17.0 <1.17.2
>=1.18.0 <1.18.3
>=1.19.0 <1.19.3
1.15.5, 1.16.4, 1.17.2, 1.18.3, 1.19.3
EEF-CVE-2026-54892no fix published
GHSA-j43x-5hjq-rgxfHexplug>=1.15.0 <1.15.51.15.5
GHSA-j43x-5hjq-rgxfHexplug>=1.16.0 <1.16.41.16.4
GHSA-j43x-5hjq-rgxfHexplug>=1.17.0 <1.17.21.17.2
GHSA-j43x-5hjq-rgxfHexplug>=1.18.0 <1.18.31.18.3
GHSA-j43x-5hjq-rgxfHexplug>=1.19.0 <1.19.31.19.3

References

Check your stackJSON