Read the docs
TI-2026-40232 Aliases CVE-2026-55734

guardian atom exhaustion in Guardian.Permissions.encode_permissions!/1

Priority MEDIUM 64CWE-770Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
Present
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-770.

Summary

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 'Elixir.Guardian.Permissions':encode_permissions!/1, 'Elixir.Guardian.Permissions':encode_permissions_into_claims!/2, 'Elixir.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 2.0.0 before 2.4.1.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00476 41st percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed guardian (ueberauth): 2.4.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ueberauthguardian2.0.0 to before 2.4.12.4.1Patch availableCNA
  • guardian Vendorueberauth Affected 2.0.0 to before 2.4.1 Fixed in 2.4.1 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:ueberauth:guardian:*:*:*:*:*:*:*:*2.0.0 to before 2.4.1Vulnerableueberauth
  • cpe:2.3:a:ueberauth:guardian:*:*:*:*:*:*:*:* Versions 2.0.0 to before 2.4.1 Vulnerable ·ueberauth

Remediation

  • Fix · CNA guardian (ueberauth) Fixed in 2.4.1

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    ueberauth guardian 2.4.1

    4 records Highest priority Priority HIGH 1 HIGH, 3 MEDIUM

    Other records, highest priority first

    • TI-2026-40233 Guardian.revoke/3 acts on unverified token claims, allowing forged-token session revocationPriority HIGH 69
    • TI-2026-40231 Atom-table exhaustion denial of service in Guardian permissions AtomEncoding via unbounded atom creationPriority MEDIUM 64
    • TI-2026-39667 Atom-table exhaustion denial of service in Guardian via unbounded atom creation from binary keysPriority MEDIUM 64

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-55734

References

  • TI-2026-40233 Guardian.revoke/3 acts on unverified token claims, allowing forged-token session revocation CVSS 4.0HIGH 8.2
  • TI-2026-40231 Atom-table exhaustion denial of service in Guardian permissions AtomEncoding via unbounded atom creation CVSS 4.0MEDIUM 6.9
  • TI-2026-39667 Atom-table exhaustion denial of service in Guardian via unbounded atom creation from binary keys CVSS 4.0MEDIUM 6.9

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences