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

Published Aug 1, 2026
·
Updated

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.toatom/1. basekey/1 in lib/guardian/plug/keys.ex converts any binary into the atom :"guardian<input>", and the derived helpers claimskey/1, resourcekey/1, and tokenkey/1 create a second atom on top of that. keyfromother/1 likewise converts a regex-captured binary through String.toatom/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.currenttoken(conn, key: key) thread the caller-supplied key straight into these functions.

String.toatom/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 Software

1 affected component
ueberauth guardian>0.1.0<2.4.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade guardian to a version that resolves this vulnerability.

    Fixed in 2.4.1
  2. Configuration

    Ensure Guardian key derivation functions do not convert attacker-influenced inputs into new atoms (e.g., do not use String.to_atom/1 in base_key/1 or key_from_other/1 that derive atoms from request/tenant/header data).

    Guardian.Plug.Keys Avoid String.to_atom/1 for attacker-influenced binaries (e.g., key input) = Do not call String.to_atom/1 on untrusted binary input; replace with a bounded, non-atom mapping (e.g., hash/lookup) so new atoms are not created

Event History

Aug 1, 2026
CVE Published
via MITRE·06:46 PM
Data Sourced
via MITRE·06:46 PM
DescriptionWeakness
Data Sourced
via NVD·07:16 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-54894?

CVE-2026-54894 has a risk rating of 76, indicating a medium to high severity level.

2

How do I fix CVE-2026-54894?

To mitigate CVE-2026-54894, implement limiting on the input or throttle the creation of atoms to prevent unbounded atom creation from binary keys.

3

What is the impact of CVE-2026-54894?

CVE-2026-54894 allows an attacker to cause a denial of service by exhausting system resources through unbounded atom creation.

4

Which software is affected by CVE-2026-54894?

CVE-2026-54894 affects the ueberauth guardian software.

5

How does CVE-2026-54894 work?

CVE-2026-54894 exploits the conversion of arbitrary binaries to atoms in ueberauth guardian, leading to resource exhaustion.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203