CVE-2026-55734
Description
Allocation of Resources Without Limits or Throttling vulnerability in ueberauth guardian (Guardian.Permissions module) allows a denial of service via BEAM atom-table exhaustion. This vulnerability is associated with program file lib/guardian/permissions.ex and program routines Guardian.Permissions.encode_permissions!/1, Guardian.Permissions.encode_permissions_into_claims!/2, Guardian.Permissions.do_encode_permissions!/2. The Guardian.Permissions mixin installs a public encode_permissions!/1 function on every module that does use Guardian.Permissions. For each key of the supplied map, encode_permissions!/1 calls String.to_atom(to_string(k)) before any validation runs. The integer-value clause of do_encode_permissions!/2 then short-circuits straight to encoding without validating the key against the configured permission set, so a key with an integer value is interned as a fresh atom with no exception raised. Atoms are never garbage collected and the BEAM atom table is a fixed-size resource (default roughly 1,048,576 entries), so each unique attacker-chosen key permanently consumes one slot. An attacker who can influence a permission map that reaches encode_permissions!/1 (for example a permissions map read from a request body and passed into token issuance via encode_permissions_into_claims!/2) can mint an unbounded number of atoms and exhaust the atom table, crashing the entire BEAM node and every service running on it. The sibling decode_permissions/1 is not affected because it skips keys absent from the configured permission set. This issue affects guardian: from 1.0.0-beta.0 before 2.4.1.
Description as published by the source, in English.
Key facts
- Published
- 2026-08-01
- Last modified
- 2026-11-24
- Assigned by
- 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
0.1 %
higher than 3 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Ueberauth | Guardian | ≥ 2.0.0, < 2.4.1 | Affected |
Weakness type
-
CWE-770: Allocation of Resources Without Limits or Throttling
The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1498.001: Direct Network Flood
- T1498.002: Reflection Amplification
- T1499: Endpoint Denial of Service
- T1499.001: OS Exhaustion Flood
- T1499.002: Service Exhaustion Flood
- T1499.003: Application Exhaustion Flood
References
- https://cna.erlef.org/cves/CVE-2026-55734.html
- https://github.com/ueberauth/guardian/commit/8d4efbfc352d30f5fcfc75a4d69a795b0e472724
- https://github.com/ueberauth/guardian/security/advisories/GHSA-9qx2-v587-q3gg
- https://osv.dev/vulnerability/EEF-CVE-2026-55734
- https://github.com/ueberauth/guardian/security/advisories/GHSA-9qx2-v587-q3gg
- https://github.com/ueberauth/guardian/commit/d65227145f72b290106c06cecbe42728fbf05fe2
Related at Berigo
Articles
-
A critical GitLab flaw can allow project deletion without login
Same product
2026-08-18
On 17 August 2026 GitLab shipped an out of band patch release. It fixes two vulnerabilities in the GraphQL layer, the more serious one scoring CVSS 9…
-
Iran's nationwide internet shutdown continues
Same product
2026-01-17
Iranian citizens have been cut off from the global internet since 8 January 2026, and officials say the shutdown may last until 20 March.
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.