Skip to main content
EPSS 0.3%top 75%

CVE-2026-54894: CWE-770 Allocation of Resources Without Limits or Throttling in ueberauth guardian

0
Medium
VulnerabilityCVE-2026-54894cvecve-2026-54894cwe-770
Published: 08/01/2026 (08/01/2026, 18:46:05 UTC)
Source: CVE Database V5
Vendor/Project: ueberauth
Product: guardian

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.

CVSS v4.0

Score 6.9medium

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
High
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

Affected software

ueberauth

guardian

Affected versions
>=0.1.0 <2.4.1

ueberauth

guardian

guardian
pkg:hex/guardian
Affected versions
>=0.1.0 <2.4.1
GitHub Actionsmore threats →cve
ueberauth/guardian
pkg:github/ueberauth/guardian
CPE configurations
cpe:2.3:a:ueberauth:guardian:*:*:*:*:*:*:*:*

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/09/2026, 14:18:26 UTC

Technical Analysis

The ueberauth guardian library uses String.to_atom/1 on attacker-influenced binary input to derive connection and session keys. Since String.to_atom/1 creates a new atom for each unique input and atoms are not garbage collected, an attacker can cause unbounded atom creation by sending varied inputs. This exhausts the BEAM VM's fixed atom table (approximately 1,048,576 entries), leading to a denial of service by crashing the BEAM node and all applications running on it. The vulnerability affects guardian versions from 0.1.0 before 2.4.1.

Potential Impact

An attacker can cause a denial of service by exhausting the BEAM VM atom table through unbounded atom creation. This results in the crash of the BEAM node, taking down all applications running on it. The vulnerability requires attacker-influenced input to be passed to the vulnerable functions and does not involve privilege escalation or data disclosure.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid passing untrusted or attacker-controlled input to functions that convert binaries to atoms. Consider using String.to_existing_atom/1 or other safe alternatives that do not create new atoms dynamically.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
EEF
Date Reserved
2026-06-16T10:47:13.915Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a6e3f8dbf32cb7a34232d1c

Added to database: 08/01/2026, 18:48:45 UTC

Last enriched: 08/09/2026, 14:18:26 UTC

Last updated: 09/15/2026, 10:01:33 UTC

Views: 63

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses