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

Status: published. Published: 2026-08-01. Updated: 2026-11-24.

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.

## Remediation

- 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. (source: CNA: EEF)
- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: CNA: EEF) — https://github.com/ueberauth/guardian/commit/2952657e42e6341a67e6aaad09d8f0b40ae917cb

## Affected products and versions

- ueberauth / guardian (guardian): ≥ 0.1.0; < 2.4.1 (affected, semver). Source: CNA: EEF
- ueberauth / guardian (ueberauth/guardian): ≥ 7126fa433afc2563fcac0c9aa35193965f8fd5f8; < 2952657e42e6341a67e6aaad09d8f0b40ae917cb (affected, git). Source: CNA: EEF

## Severity and prioritization

- 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; source: CNA: EEF

- CISA KEV: No listing in collected sources

- EPSS: 0.48% as of 2026-11-23; percentile 41.97%

- SSVC: exploitation poc; automatable no; technical impact partial; source ADP: CISA-ADP

- Weaknesses: CWE-770

## Exploit evidence

- exploit: https://github.com/ueberauth/guardian/security/advisories/GHSA-xqch-c77q-rgh5 (ADP: CISA-ADP)

## References

- https://github.com/ueberauth/guardian/security/advisories/GHSA-xqch-c77q-rgh5 (CNA: EEF; vendor-advisory, related)

- https://cna.erlef.org/cves/CVE-2026-54894.html (CNA: EEF; related)

- https://osv.dev/vulnerability/EEF-CVE-2026-54894 (CNA: EEF; related)

- https://github.com/ueberauth/guardian/commit/7126fa433afc2563fcac0c9aa35193965f8fd5f8 (CNA: EEF; related)

- https://github.com/ueberauth/guardian/commit/2952657e42e6341a67e6aaad09d8f0b40ae917cb (CNA: EEF; patch)

- https://github.com/ueberauth/guardian/security/advisories/GHSA-xqch-c77q-rgh5 (ADP: CISA-ADP; exploit)

## Provenance

- CNA: EEF: https://www.cve.org/CVERecord?id=CVE-2026-54894; retrieved 2026-11-24; source updated 2026-11-24

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-54894; retrieved 2026-11-24; source updated Not reported

Revision: a43004379a84608539c9e4fee1197cdcfb6da18f939f21628a0c3081b8095767

Canonical: https://y2.dev/cve/CVE-2026-54894

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.