# CVE-2026-55734: guardian atom exhaustion in Guardian.Permissions.encode_permissions!/1

- Severity: Medium 6.9 (CVSS:4.0, scored by EEF) `CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 28% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-01T18:46:24.291Z
- Modified: 2026-11-26T17:23:03.266Z
- Also known as: EEF-CVE-2026-55734, GHSA-9qx2-v587-q3gg
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: EEF

## 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.

(As written by CVE List.)

## Affected

- guardian: from 1.0.0-beta.0 before 2.4.1
- ueberauth/guardian: from d65227145f72b290106c06cecbe42728fbf05fe2 before 8d4efbfc352d30f5fcfc75a4d69a795b0e472724
- guardian (Hex): from 1.0.0-beta.0 before 2.4.1
- https://github.com/ueberauth/guardian: from d65227145f72b290106c06cecbe42728fbf05fe2 before 8d4efbfc352d30f5fcfc75a4d69a795b0e472724
- ueberauth guardian: from 2.0.0 before 2.4.1

## Every score

- EEF: CVSS:4.0 6.9 Medium `CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H`
- Erlang Ecosystem Foundation: CVSS:4.0 `CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/ueberauth/guardian/security/advisories/GHSA-9qx2-v587-q3gg> (exploit, advisory, patch, related, vendor-advisory)
- <https://cna.erlef.org/cves/CVE-2026-55734.html> (related, third-party-advisory, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-55734> (related, third-party-advisory)
- <https://github.com/ueberauth/guardian/commit/d65227145f72b290106c06cecbe42728fbf05fe2> (related, web)
- <https://github.com/ueberauth/guardian/commit/8d4efbfc352d30f5fcfc75a4d69a795b0e472724> (fix, patch)
- <https://hex.pm/packages/guardian> (package)

## Sources

- CVE List: [CVE-2026-55734](https://www.cve.org/CVERecord?id=CVE-2026-55734), CVE Terms of Use, modified 2026-11-24
- Erlang Ecosystem Foundation: [EEF-CVE-2026-55734](https://osv.dev/vulnerability/EEF-CVE-2026-55734), CC-BY-4.0, modified 2026-11-26
- NVD: [CVE-2026-55734](https://nvd.nist.gov/vuln/detail/CVE-2026-55734), Public domain, modified 2026-11-24

---

Page: https://cve.day/CVE-2026-55734 · Whole record: https://cve.day/CVE-2026-55734.json · Rebuilt by cve.day 2026-11-26T17:37:07.273Z
