{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2026-55733", "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db", "state": "PUBLISHED", "assignerShortName": "EEF", "dateReserved": "2026-06-17T10:44:34.365Z", "datePublished": "2026-08-01T18:46:12.113Z", "dateUpdated": "2026-11-24T04:31:55.226Z" }, "containers": { "cna": { "affected": [ { "collectionURL": "https://repo.hex.pm", "cpes": [ "cpe:2.3:a:ueberauth:guardian:*:*:*:*:*:*:*:*" ], "defaultStatus": "unaffected", "modules": [ "'Elixir.Guardian.Permissions.AtomEncoding'" ], "packageName": "guardian", "packageURL": "pkg:hex/guardian", "product": "guardian", "programFiles": [ "lib/guardian/permissions/atom_encoding.ex" ], "programRoutines": [ { "name": "'Elixir.Guardian.Permissions.AtomEncoding':encode/3" }, { "name": "'Elixir.Guardian.Permissions.AtomEncoding':encode_value/3" } ], "repo": "https://github.com/ueberauth/guardian", "vendor": "ueberauth", "versions": [ { "lessThan": "2.4.1", "status": "affected", "version": "2.0.0", "versionType": "semver" } ] }, { "collectionURL": "https://github.com", "cpes": [ "cpe:2.3:a:ueberauth:guardian:*:*:*:*:*:*:*:*" ], "defaultStatus": "unaffected", "modules": [ "'Elixir.Guardian.Permissions.AtomEncoding'" ], "packageName": "ueberauth/guardian", "packageURL": "pkg:github/ueberauth/guardian", "product": "guardian", "programFiles": [ "lib/guardian/permissions/atom_encoding.ex" ], "programRoutines": [ { "name": "'Elixir.Guardian.Permissions.AtomEncoding':encode/3" }, { "name": "'Elixir.Guardian.Permissions.AtomEncoding':encode_value/3" } ], "repo": "https://github.com/ueberauth/guardian", "vendor": "ueberauth", "versions": [ { "lessThan": "9cd268557846aa4c3ad53566c08f2c190ee5513f", "status": "affected", "version": "b7a6128ca4d0ffb7f7df5219dd982304ff9d6802", "versionType": "git" } ] } ], "configurations": [ { "lang": "en", "supportingMedia": [ { "base64": false, "type": "text/html", "value": "

Only applications that opt into the non-default Guardian.Permissions.AtomEncoding encoder (via use Guardian.Permissions, encoding: Guardian.Permissions.AtomEncoding) and pass attacker-influenced permission scopes into its encode/3 entry point are exploitable. The default Guardian.Permissions.BitwiseEncoding encoder and the Guardian.Permissions.TextEncoding encoder do not create atoms and are not affected.

" }, { "base64": false, "type": "text/markdown", "value": "Only applications that opt into the non-default `Guardian.Permissions.AtomEncoding` encoder (via `use Guardian.Permissions, encoding: Guardian.Permissions.AtomEncoding`) and pass attacker-influenced permission scopes into its `encode/3` entry point are exploitable. The default `Guardian.Permissions.BitwiseEncoding` encoder and the `Guardian.Permissions.TextEncoding` encoder do not create atoms and are not affected." } ], "value": "Only applications that opt into the non-default Guardian.Permissions.AtomEncoding encoder (via use Guardian.Permissions, encoding: Guardian.Permissions.AtomEncoding) and pass attacker-influenced permission scopes into its encode/3 entry point are exploitable. The default Guardian.Permissions.BitwiseEncoding encoder and the Guardian.Permissions.TextEncoding encoder do not create atoms and are not affected." } ], "cpeApplicability": [ { "nodes": [ { "cpeMatch": [ { "criteria": "cpe:2.3:a:ueberauth:guardian:*:*:*:*:*:*:*:*", "versionEndExcluding": "2.4.1", "versionStartIncluding": "2.0.0", "vulnerable": true } ], "negate": false, "operator": "OR" } ], "operator": "AND" } ], "credits": [ { "lang": "en", "type": "finder", "value": "Peter Ullrich" }, { "lang": "en", "type": "analyst", "value": "Jonatan Männchen / EEF" }, { "lang": "en", "type": "remediation developer", "value": "Yordis Prieto" } ], "datePublic": "2026-08-01T18:46:12.000Z", "descriptions": [ { "lang": "en", "supportingMedia": [ { "base64": false, "type": "text/html", "value": "

Allocation of Resources Without Limits or Throttling in ueberauth guardian allows denial of service via unbounded atom creation from attacker-controlled binary input.

\n

Guardian.Permissions.AtomEncoding encodes permission scopes by passing arbitrary binaries to String.to_atom/1. When encode/3 in lib/guardian/permissions/atom_encoding.ex is called with a list, each binary entry is handled by the encode_value/3 binary clause, which calls String.to_atom(value) with no allow-list check. The perm_set argument (the application's small, finite set of legitimate permission names) is discarded, so any external string flows straight into atom creation. This encoder is selected with use Guardian.Permissions, encoding: Guardian.Permissions.AtomEncoding and reached through the imported encode/3 entry point.

\n

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 funnels attacker-influenced permission scopes (from a request body, a JWT claim, or other external input) into encode/3 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 with system_limit, taking down every application running on it.

\n

The default encoder is Guardian.Permissions.BitwiseEncoding, which is not affected.

\n

This issue affects guardian: from 2.0.0 before 2.4.1.

" }, { "base64": false, "type": "text/markdown", "value": "Allocation of Resources Without Limits or Throttling in ueberauth guardian allows denial of service via unbounded atom creation from attacker-controlled binary input.\n\n`Guardian.Permissions.AtomEncoding` encodes permission scopes by passing arbitrary binaries to `String.to_atom/1`. When `encode/3` in `lib/guardian/permissions/atom_encoding.ex` is called with a list, each binary entry is handled by the `encode_value/3` binary clause, which calls `String.to_atom(value)` with no allow-list check. The `perm_set` argument (the application's small, finite set of legitimate permission names) is discarded, so any external string flows straight into atom creation. This encoder is selected with `use Guardian.Permissions, encoding: Guardian.Permissions.AtomEncoding` and reached through the imported `encode/3` entry point.\n\n`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 funnels attacker-influenced permission scopes (from a request body, a JWT claim, or other external input) into `encode/3` 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 with `system_limit`, taking down every application running on it.\n\nThe default encoder is `Guardian.Permissions.BitwiseEncoding`, which is not affected.\n\nThis issue affects guardian: from 2.0.0 before 2.4.1." } ], "value": "Allocation of Resources Without Limits or Throttling in ueberauth guardian allows denial of service via unbounded atom creation from attacker-controlled binary input.\n\nGuardian.Permissions.AtomEncoding encodes permission scopes by passing arbitrary binaries to String.to_atom/1. When encode/3 in lib/guardian/permissions/atom_encoding.ex is called with a list, each binary entry is handled by the encode_value/3 binary clause, which calls String.to_atom(value) with no allow-list check. The perm_set argument (the application's small, finite set of legitimate permission names) is discarded, so any external string flows straight into atom creation. This encoder is selected with use Guardian.Permissions, encoding: Guardian.Permissions.AtomEncoding and reached through the imported encode/3 entry point.\n\nString.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 funnels attacker-influenced permission scopes (from a request body, a JWT claim, or other external input) into encode/3 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 with system_limit, taking down every application running on it.\n\nThe default encoder is Guardian.Permissions.BitwiseEncoding, which is not affected.\n\nThis issue affects guardian: from 2.0.0 before 2.4.1." } ], "impacts": [ { "capecId": "CAPEC-130", "descriptions": [ { "lang": "en", "value": "CAPEC-130 Excessive Allocation" } ] } ], "metrics": [ { "cvssV4_0": { "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "Safety": "NOT_DEFINED", "attackComplexity": "LOW", "attackRequirements": "PRESENT", "attackVector": "LOCAL", "baseScore": 6.9, "baseSeverity": "MEDIUM", "privilegesRequired": "NONE", "providerUrgency": "NOT_DEFINED", "subAvailabilityImpact": "HIGH", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "userInteraction": "NONE", "valueDensity": "NOT_DEFINED", "vectorString": "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", "version": "4.0", "vulnAvailabilityImpact": "HIGH", "vulnConfidentialityImpact": "NONE", "vulnIntegrityImpact": "NONE", "vulnerabilityResponseEffort": "NOT_DEFINED" }, "format": "CVSS", "scenarios": [ { "lang": "en", "value": "GENERAL" } ] } ], "problemTypes": [ { "descriptions": [ { "cweId": "CWE-770", "description": "CWE-770 Allocation of Resources Without Limits or Throttling", "lang": "en", "type": "CWE" } ] } ], "providerMetadata": { "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db", "shortName": "EEF", "dateUpdated": "2026-11-24T04:31:55.226Z" }, "references": [ { "name": "Atom exhaustion via `String.to_atom/1` on attacker-controlled binary", "tags": [ "vendor-advisory", "related" ], "url": "https://github.com/ueberauth/guardian/security/advisories/GHSA-fjr5-7xrc-hmpj" }, { "name": "EEF CNA record for CVE-2026-55733", "tags": [ "related" ], "url": "https://cna.erlef.org/cves/CVE-2026-55733.html" }, { "name": "OSV record EEF-CVE-2026-55733", "tags": [ "related" ], "url": "https://osv.dev/vulnerability/EEF-CVE-2026-55733" }, { "name": "Introducing commit b7a6128 in ueberauth/guardian", "tags": [ "related" ], "url": "https://github.com/ueberauth/guardian/commit/b7a6128ca4d0ffb7f7df5219dd982304ff9d6802" }, { "name": "Fix commit 9cd2685 in ueberauth/guardian", "tags": [ "patch" ], "url": "https://github.com/ueberauth/guardian/commit/9cd268557846aa4c3ad53566c08f2c190ee5513f" } ], "source": { "discovery": "EXTERNAL" }, "title": "Atom-table exhaustion denial of service in Guardian permissions AtomEncoding via unbounded atom creation", "workarounds": [ { "lang": "en", "supportingMedia": [ { "base64": false, "type": "text/html", "value": "

Switch the permission encoder to the default Guardian.Permissions.BitwiseEncoding or to Guardian.Permissions.TextEncoding, neither of which creates atoms. Alternatively, validate every permission value against the configured perm_set allowlist (rejecting unknown values) before passing it to encode/3.

" }, { "base64": false, "type": "text/markdown", "value": "Switch the permission encoder to the default `Guardian.Permissions.BitwiseEncoding` or to `Guardian.Permissions.TextEncoding`, neither of which creates atoms. Alternatively, validate every permission value against the configured `perm_set` allowlist (rejecting unknown values) before passing it to `encode/3`." } ], "value": "Switch the permission encoder to the default Guardian.Permissions.BitwiseEncoding or to Guardian.Permissions.TextEncoding, neither of which creates atoms. Alternatively, validate every permission value against the configured perm_set allowlist (rejecting unknown values) before passing it to encode/3." } ] }, "adp": [ { "references": [ { "url": "https://github.com/ueberauth/guardian/security/advisories/GHSA-fjr5-7xrc-hmpj", "tags": [ "exploit" ] } ], "metrics": [ { "other": { "type": "ssvc", "content": { "timestamp": "2026-08-03T16:50:27.758398Z", "id": "CVE-2026-55733", "options": [ { "Exploitation": "poc" }, { "Automatable": "no" }, { "Technical Impact": "partial" } ], "role": "CISA Coordinator", "version": "2.0.3" } } } ], "title": "CISA ADP Vulnrichment", "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2026-08-03T16:50:53.942Z" } } ] } }