# CVE-2026-54894: Atom-table exhaustion denial of service in Guardian via unbounded atom creation from binary keys

- 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.32%, higher than 27% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-01T18:46:05.861Z
- Modified: 2026-11-25T17:23:11.956Z
- Also known as: EEF-CVE-2026-54894, GHSA-xqch-c77q-rgh5
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: EEF

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

(As written by CVE List.)

## Affected

- guardian: from 0.1.0 before 2.4.1
- ueberauth/guardian: from 7126fa433afc2563fcac0c9aa35193965f8fd5f8 before 2952657e42e6341a67e6aaad09d8f0b40ae917cb
- guardian (Hex): from 0.1.0 before 2.4.1
- https://github.com/ueberauth/guardian: from 7126fa433afc2563fcac0c9aa35193965f8fd5f8 before 2952657e42e6341a67e6aaad09d8f0b40ae917cb
- ueberauth guardian: 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-xqch-c77q-rgh5> (exploit, advisory, patch, related, vendor-advisory)
- <https://cna.erlef.org/cves/CVE-2026-54894.html> (related, third-party-advisory, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-54894> (related, third-party-advisory)
- <https://github.com/ueberauth/guardian/commit/7126fa433afc2563fcac0c9aa35193965f8fd5f8> (related, web)
- <https://github.com/ueberauth/guardian/commit/2952657e42e6341a67e6aaad09d8f0b40ae917cb> (fix, patch)
- <https://hex.pm/packages/guardian> (package)

## Sources

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

---

Page: https://cve.day/CVE-2026-54894 · Whole record: https://cve.day/CVE-2026-54894.json · Rebuilt by cve.day 2026-11-25T22:59:30.800Z
