CVE-2026-54894
Atom-table exhaustion denial of service in Guardian via unbounded atom creation from binary keys
Check your servers for CVE-2026-54894
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-54894 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.
Description
Allocation of Resources Without Limits or Throttling in ueberauth guardian allows denial of service via unbounded atom creation from attacker-influenced binary input.
Guardian.Plug.Keys derives connection and session namespace keys by passing arbitrary binaries to String.to_atom/1. base_key/1 in lib/guardian/plug/keys.ex converts any binary into the atom :"guardian_<input>", and the derived helpers claims_key/1, resource_key/1, and token_key/1 create a second atom on top of that. key_from_other/1 likewise converts a regex-captured binary through String.to_atom/1. The public specs advertise String.t() as a valid argument, so passing a string is documented usage, and higher-level entry points such as Guardian.Plug.current_token(conn, key: key) thread the caller-supplied key straight into these functions.
String.to_atom/1 creates a brand-new atom for every previously unseen binary, atoms are never garbage collected, and the BEAM atom table is fixed at roughly 1,048,576 entries by default. An application that routes attacker-influenced data (a tenant identifier, header, or other request input) into a Guardian key therefore mints one permanent atom per distinct value. A modest stream of varied, unauthenticated input permanently consumes the atom table and crashes the BEAM node, taking down every application running on it.
This issue affects guardian: from 0.1.0 before 2.4.1.
Severity (CVSS)
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.48%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 33.4% of all scored CVEs. Scores of 29 Nov 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.
| Product | Versions |
|---|---|
|
guardian
package
guardian |
affected from 0.1.0, before 2.4.1
Other versions: unaffected
|
|
guardian
package
ueberauth/guardian |
affected from 7126fa433afc2563fcac0c9aa35193965f8fd5f8, before 2952657e42e6341a67e6aaad09d8f0b40ae917cb
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-54894 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-54894RHEL, Rocky, Alma, Fedora
rpm -q guardian
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-54894Alpine
apk list --installed | grep -i guardianWith 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-54894
trivy image --scanners vuln IMAGE | grep CVE-2026-54894
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
- Fix commit 2952657 in ueberauth/guardian github.com · patch
Exploits and proof of concept
- Unbounded atom creation from binary input (atom-table DoS) github.com · vendor advisory, related, exploit
Other references
- EEF CNA record for CVE-2026-54894 cna.erlef.org · related
- OSV record EEF-CVE-2026-54894 osv.dev · related
- Introducing commit 7126fa4 in ueberauth/guardian github.com · related
Source: the record CVE-2026-54894 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.
Vulnpocalypse