Intel

AIKIDO-2026-634688

guardian is vulnerable to Uncontrolled Resource Consumption

CVE-2026-55733Published Aug 3, 2026
August 3, 2026

69

CVE Score

Medium

Uncontrolled Resource Consumption

Are you affected? Scan for Free

TL;DR

The optional Guardian.Permissions.AtomEncoding encoder in lib/guardian/permissions/atom_encoding.ex converts permission scopes into atoms by calling String.to_atom on arbitrary binaries and ignores the application's permission allow-list. An application that opts into this encoder and feeds it externally influenced permission scopes interns one permanent atom per distinct value. Because BEAM atoms are never garbage collected and the atom table is fixed in size, a stream of varied unauthenticated input exhausts the table and crashes the node. The fix validates each value against the permission set and uses String.to_existing_atom instead of minting fresh atoms.

How do I fix this?

Upgrade the guardian library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application opts into the Guardian.Permissions.AtomEncoding encoder and passes externally influenced permission scopes into it.

Package

Versions

2.0.0 - 2.4.0

Fixed in 2.4.1

Background info

guardian is vulnerable to Uncontrolled Resource Consumption in versions 2.0.0 - 2.4.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea