CVE-2026-54894
Atom-table exhaustion denial of service in Guardian via unbounded atom creation from binary keys
Mitigation
- Upgrade guardian to 2.4.1 or later.
- Upgrade guardian to 2952657e42e6341a67e6aaad09d8f0b40ae917cb or later.
- Vendor workaround: Do not derive Guardian keys from untrusted input. Use a fixed, hardcoded set of namespace keys, or validate the value against a bounded allowlist of known keys, before passing it as the :key option.
Who should check
- Anyone running ueberauth guardian >= 0.1.0, < 2.4.1
- Anyone running ueberauth guardian >= 7126fa433afc2563fcac0c9aa35193965f8fd5f8, < 2952657e42e6341a67e6aaad09d8f0b40ae917cb
Vulnerability facts
- Affected
- ueberauth guardian >= 0.1.0, < 2.4.1; ueberauth guardian >= 7126fa433afc2563fcac0c9aa35193965f8fd5f8, < 2952657e42e6341a67e6aaad09d8f0b40ae917cb
- Fixed in
- ueberauth guardian 2.4.1, ueberauth guardian 2952657e42e6341a67e6aaad09d8f0b40ae917cb
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 6.9 (v4.0, 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:HOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Attack requirements: Present
- Privileges required: None
- User interaction: None
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: High
- EPSS
- 0.48% chance of exploitation in 30 days (percentile 33, 2026-11-26)
- CWE
- CWE-770
- Modified
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.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-54894. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-54894.md Affected: ueberauth guardian >= 0.1.0, < 2.4.1; ueberauth guardian >= 7126fa433afc2563fcac0c9aa35193965f8fd5f8, < 2952657e42e6341a67e6aaad09d8f0b40ae917cb Fixed in: ueberauth guardian 2.4.1, ueberauth guardian 2952657e42e6341a67e6aaad09d8f0b40ae917cb Steps: 1. Search this machine and project for ueberauth guardian: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
FAQ
Is CVE-2026-54894 being exploited?
There is no confirmed exploitation: CVE-2026-54894 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.48% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-54894?
Medium: CVSS 6.9 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-54894?
ueberauth guardian >= 0.1.0, < 2.4.1; ueberauth guardian >= 7126fa433afc2563fcac0c9aa35193965f8fd5f8, < 2952657e42e6341a67e6aaad09d8f0b40ae917cb.
Is there a fix for CVE-2026-54894?
Yes. Fixed in ueberauth guardian 2.4.1, ueberauth guardian 2952657e42e6341a67e6aaad09d8f0b40ae917cb. Upgrade guardian to 2.4.1 or later. Upgrade guardian to 2952657e42e6341a67e6aaad09d8f0b40ae917cb or later. Vendor workaround: Do not derive Guardian keys from untrusted input. Use a fixed, hardcoded set of namespace keys, or validate the value against a bounded allowlist of known keys, before passing it as the :key option.
How do I check if I'm affected by CVE-2026-54894?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.