Skip to main content

AshAuthentication EUVDEUVD-2026-81478

| CVE-2026-82760 HIGH
Inefficient Algorithmic Complexity (CWE-407)
2026-09-17 EEF
8.2
CVSS 4.0 · Vendor: EEF
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach public API-key sign-in endpoint
  2. Delivery
    Submit oversized base62 key segment
  3. Exploit
    Trigger cubic decode62/quadratic bindecode62 computation
  4. Execution
    Exhaust CPU and memory pre-auth
  5. Impact
    Deny service to legitimate users

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V2 - Validation and Business Logic Algorithmic complexity limits
Exploitation Conditions

The target application must use AshAuthentication with the ApiKey strategy enabled (AshAuthentication.Strategy.ApiKey.SignInPreparation exposed via a sign-in action), and run an affected version (4.8.0 up to but not including 4.15.0, or 5.0.0-rc.0 up to but not including 5.0.0-rc.14). No authentication, credentials, user interaction, or valid API key is required (PR:N/UI:N) - the oversized base62 segment is processed by decode62/1 and bindecode62/1 before any key lookup. The only real prerequisite is the ability to reach the sign-in endpoint and submit an input long enough that the cubic/quadratic cost becomes significant (reflected as AT:P). Applications not configured with the ApiKey strategy are not exposed.

Impact

This is a genuine, network-reachable denial-of-service (CWE-407, algorithmic complexity) that a defender should prioritize if they run AshAuthentication's ApiKey strategy. The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N, VA:H only) is internally consistent with the description: a remote, unauthenticated attacker with only 'attack requirements present' (an oversized crafted segment) can drive CPU/memory exhaustion, and impact is purely to availability - confidentiality and integrity are correctly N. The 8.2 score is high largely because PR:N/UI:N make it trivially reachable; the AT:P is the only mitigating metric. Signals are consistent, not conflicting: patch is confirmed available and the flaw is well-substantiated by vendor source code (decode62/1 cubic via repeated Integer.pow, bindecode62/1 quadratic, no byte_size cap, invoked pre-authentication in SignInPreparation). No EPSS score and no KEV entry are provided, and the references are advisories/patch commits rather than exploit code - so there is no evidence of active exploitation or a public PoC. Net: a real, easily-triggered DoS priority for the specific population running this Elixir library, but the small deployment footprint (see prevalence) bounds real-world blast radius. Note the input 'Information Disclosure' tag conflicts with the actual impact (availability-only) and appears mislabeled.

Exploit ScenarioDerived

An unauthenticated attacker sends API-key sign-in requests whose underscore-separated key contains a very long base62 segment. Because SignInPreparation feeds the segment into decode62/1 (cost grows ~cubically) and bindecode62/1 (quadratic) before any key lookup or authentication, each request consumes disproportionate CPU and memory; a handful of concurrent requests can exhaust the server. No public exploit code is identified at time of analysis, though the vulnerable code path is fully documented in the vendor advisory and patch commits.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 17, 2026

Denial of service in the AshAuthentication API-key sign-in strategy lets an unauthenticated, remote attacker exhaust server CPU and memory by submitting an API key containing an oversized base62 segment. Affected are ash_authentication releases from 4.8.0 before 4.15.0 and from 5.0.0-rc.0 before 5.0.0-rc.14 that enable the ApiKey strategy; the malicious input is decoded before any key lookup, so no credentials, valid key, or user interaction is required (CVSS 4.0 base 8.2; assessed CVSS 3.1 AV:N/AC:L/PR:N/UI:N/A:H). No public exploit code or active exploitation was identified at time of analysis, and vendor fixes are available in 4.15.0 and 5.0.0-rc.14.

RemediationAI

Vendor-released patch: upgrade ash_authentication to 4.15.0 or later on the 4.x line, or to 5.0.0-rc.14 or later on the 5.0 release-candidate line, following the advisory at https://github.com/team-alembic/ash_authentication/security/advisories/GHSA-q876-xr24-2mcx; the fixes are contained in the referenced upstream commits f3a53f480088419788d5c3934af3131fa9066773, d5a5d4cb5cc17fbd6e2a120a6111b47accad4b8e, and dfb19c897853686ab481c5e773f7a1a0c74dea04, so a deployment pinned to a git dependency can also pull one of those revisions directly. If upgrading is not immediately possible, apply compensating controls at the edge rather than inside the application, because the vulnerable work happens before any key lookup and raises no exception the library can rescue: cap the maximum length of the submitted API key (legitimate keys are short, so rejecting keys whose sampled prefix or individual underscore-separated segment exceeds a few hundred bytes is low risk, though it can reject malformed or custom-length clients), reject or truncate oversized request bodies and headers at the reverse proxy or load balancer, and rate-limit or temporarily disable the API-key sign-in endpoint for unauthenticated traffic. Restricting the sign-in route to trusted networks or API gateways with per-client quotas is an effective stopgap but breaks public client access, and simply adding retries or increasing server capacity does not mitigate exponential memory growth.

Affected VersionsENISA

ash_authentication 5.0.0-rc.0 <5.0.0-rc.14
ash_authentication f3a53f480088419788d5c3934af3131fa9066773 <*
ash_authentication 4.8.0 <4.15.0

Affected Packages

euvd ash_authentication fix: 4.15.0, 5.0.0-rc.14

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-407, inefficient algorithmic complexity, in the Base62 helper module of the Elixir library AshAuthentication (lib/ash_authentication/base.ex). decode62/1 converts its input by splitting the binary into one single-character binary per position and folding those through charval62/2, which recomputes Integer.pow(62, index) from scratch at every position rather than accumulating Horner-style; this makes decoding cost grow roughly cubically with input length. The inverse helper bindecode62/1 is quadratic because it relies on Integer.digits/2 and Integer.undigits/2 over the whole integer. Neither function enforces a byte_size/1 cap, and AshAuthentication.Strategy.ApiKey.SignInPreparation feeds the underscore-separated segments of the submitted key into both functions before any API key lookup and without prior authentication. The surrounding rescue clauses in the library trap raised exceptions only; CPU cycles and memory growth during pure computation are not exceptions, so they do not bound the work. The affected package is identified by CPE cpe:2.3:a:team-alembic:ash_authentication and is part of the Ash framework authentication layer; the vulnerability was reported in the Erlang/Elixir ecosystem and assigned by the EEF CNA. Note the provided tag 'Information Disclosure' does not match the assessed impact, which is availability loss through resource exhaustion.

Know when Ash Authentication gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (EEF) PRIMARY 8.2 HIGH
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.5 HIGH

Remote unauthenticated request to the pre-auth sign-in path (AV:N/PR:N/UI:N/AC:L) causes availability-only resource exhaustion (A:H), with no confidentiality or integrity impact and no scope change.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (EEF).

CVSS VectorVendor: EEF

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Inefficient Algorithmic Complexity vulnerability in team-alembic AshAuthentication allows an unauthenticated attacker to exhaust CPU and memory via an oversized base62 segment in a submitted API key.

AshAuthentication.Base.decode62/1 in lib/ash_authentication/base.ex splits its argument into one binary per character and folds it with charval62/2, which recomputes Integer.pow(62, index) at every position instead of accumulating by Horner's method, so cost grows roughly cubically in the input length. bindecode62/1 in the same module is quadratic through Integer.undigits/2 and Integer.digits/2. Neither function caps byte_size/1, and AshAuthentication.Strategy.ApiKey.SignInPreparation passes the underscore-separated segments of the submitted key straight into both, before any key lookup and without prior authentication. The surrounding rescue clauses catch exceptions, not CPU or memory exhaustion.

This issue affects ash_authentication: from 4.8.0 before 4.15.0 and from 5.0.0-rc.0 before 5.0.0-rc.14.

Technical POC Analysis

CWE-407 (Inefficient Algorithmic Complexity), with CWE-1284 (Improper Validation of Specified Quantity in Input) as the secondary weakness.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

AshAuthentication, an Elixir authentication library used by applications built on the Ash framework, contains a remotely triggerable denial-of-service flaw in its API-key sign-in strategy that can exhaust server CPU and memory. Any unauthenticated request reaching an affected login endpoint is sufficient to trigger the condition - no account, valid key, or user interaction is required - so internet-facing applications that enable the ApiKey strategy face a realistic risk of authentication outages and follow-on application downtime. Leadership should care because the impacted component is the front door to these applications, and sustained resource exhaustion there can disrupt access for all users, not just those using API keys.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 57% exploitable
Prevalence
Low
niche Elixir/Ash-framework authentication library, small ecosystem footprint
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +41
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2026-49757 CRITICAL POC
9.2 Jun 15

Account takeover in team-alembic AshAuthentication (0.1.0 to <4.14.0 and 5.0.0-rc.0 to <5.0.0-rc.10) lets an unauthentic

CVE-2025-25202 MEDIUM POC
6.3 Feb 11

Ash Authentication is an authentication framework for Elixir applications. Rated medium severity (CVSS 6.3), this vulner

CVE-2026-86533 CRITICAL
9.1 Sep 17

Revoked sessions continue to be treated as fully authenticated on affected AshAuthentication and AshAuthentication Phoen

CVE-2026-85500 CRITICAL
9.1 Sep 17

Unconfirmed accounts can obtain an authenticated session in the AshAuthentication Elixir library, defeating the mandator

CVE-2026-88952 CRITICAL
9.1 Sep 17

Account takeover in AshAuthentication (Elixir/Ash) 4.14.0 through 4.14.x and 5.0.0-rc.10 through 5.0.0-rc.13 lets unauth

CVE-2026-91039 CRITICAL
9.1 Sep 17

Authentication bypass in the Elixir library ash_authentication lets an attacker who operates one federated identity-prov

CVE-2026-82761 CRITICAL
9.1 Sep 17

Reusing a leaked single-use magic-link token is possible in the Elixir library ash_authentication because its validity c

CVE-2026-82685 HIGH
7.6 Sep 17

An authenticated account-takeover primitive exists in the Elixir library AshAuthentication (ash_authentication) versions

CVE-2026-65633 HIGH
7.6 Aug 25

JWT token replay in AshAuthentication exposes any application using the stateless bearer-token path to full account take

CVE-2026-119215 HIGH
7.6 Nov 03

An authenticated account holder can bind a TOTP authenticator secret they control onto another user's account in AshAuth

CVE-2026-80218 HIGH
7.6 Sep 17

Authentication bypass in the AshAuthentication library for Elixir/Ash lets an authenticated attacker who holds a valid s

CVE-2026-81632 HIGH
7.2 Sep 17

Password sign-in in AshAuthentication Phoenix (ash_authentication_phoenix 1.7.0 to <2.17.4 and 3.0.0-rc.0 to <3.0.0-rc.1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy