CVE-2026-55734

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

6.9 medium EPSS 0.33%

Published 1 Aug 2026 Updated 24 Nov 2026 CNA: EEF

Check your servers for CVE-2026-55734

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-55734 affects guardian, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

6.9 medium CVSS 4.0 from EEF (CNA)
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
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Attack requirements
present: an attack works only when the target is in a certain state or configuration
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Impact on the vulnerable system
confidentiality none, integrity none, availability high: what an attacker can read, change or stop in the vulnerable component
Impact on other systems
confidentiality none, integrity none, availability high: what an attacker can read, change or stop beyond it

Exploitation

EPSS 0.33%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 28.3% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 3 Aug 2026):

Exploitation
poc: a proof of concept is public
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Weakness

  • CWE-770 Allocation of Resources Without Limits or Throttling

Affected products

As the CNA lists them.

ProductVersions
guardian
package guardian
affected from 1.0.0-beta.0, before 2.4.1
Other versions: unaffected
guardian
package ueberauth/guardian
affected from d65227145f72b290106c06cecbe42728fbf05fe2, before 8d4efbfc352d30f5fcfc75a4d69a795b0e472724
Other versions: unaffected

Is my server affected?

Find the installed version of guardian and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.

Debian, Ubuntu

dpkg -l | grep -i guardian
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-55734 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-55734

RHEL, Rocky, Alma, Fedora

rpm -q guardian
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-55734

Alpine

apk list --installed | grep -i guardian

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-55734
trivy image --scanners vuln IMAGE | grep CVE-2026-55734

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Patches and release notes

Exploits and proof of concept

Other references

Source: the record CVE-2026-55734 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.