Skip to main content

AshAdmin EUVDEUVD-2026-68330

| CVE-2026-81853 LOW
Authorization Bypass Through User-Controlled Key (CWE-639)
2026-08-31 EEF
2.3
CVSS 4.0 · Vendor: EEF
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to AshAdmin interface
  2. Delivery
    Identify resource with sensitive short-value attribute
  3. Exploit
    Craft ETF map encoding %{sensitive_attr: candidate_value}
  4. Execution
    Base64-encode and submit as primary key in lookup URL
  5. Persist
    Observe response to confirm match or mismatch
  6. Impact
    Iterate candidates to recover secret attribute value

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
Exploitation Conditions

Exploitation requires: (1) the attacker holds a valid AshAdmin session (authenticated, PR:L per CVSS 4.0); (2) the target resource has at least one sensitive non-primary-key attribute whose Elixir atom name is already interned in the BEAM runtime (all compiled resource attribute names qualify, since they are interned at compile time); (3) the attacker can distinguish a matching lookup result from a non-matching one via the HTTP response (status code, response body, or timing). The AT:P precondition in CVSS 4.0 reflects that the oracle is only useful when the sensitive attribute's value space is small enough to be enumerable - strong random tokens are impractical to brute-force, while short numeric codes or predictable values are realistic targets. What limits exploitation: authentication is mandatory (no unauthenticated path), the BEAM :safe flag blocks new-atom creation so only already-interned atoms are usable as injection keys, and each guess requires a distinct HTTP request making high-entropy secrets infeasible to recover.

Impact

The CVSS 4.0 score of 2.3 accurately reflects constrained real-world impact. AT:P (attack requires preconditions) captures that successful exploitation requires: (1) the targeted resource must have sensitive non-primary-key attributes whose atom names are already interned in the BEAM runtime; (2) the attacker must have authenticated access to the AshAdmin interface; and (3) the attacker must be able to enumerate attribute names and craft valid ETF payloads. PR:L confirms authentication is required, substantially reducing the attacker population. The confidentiality impact is rated VC:L because the oracle leaks only a single attribute equality match per request, not bulk data - brute-forcing a 32-byte token would require infeasible numbers of requests for strong tokens, but weak or short tokens (e.g., numeric reset codes) are realistically recoverable. There is no KEV listing and no public POC is identified at time of analysis. The combination of required authentication, preconditions, and low-rate oracle design makes this a real but low-urgency risk; organizations using AshAdmin with sensitive resource attributes and broad admin access should treat it as a priority patch.

Exploit ScenarioDerived

An authenticated AshAdmin user identifies a resource with a sensitive attribute (e.g., a short numeric password-reset token). They craft an ETF binary encoding the map %{reset_token: "123456"}, Base64-encode it, and submit it as the primary key in a record-lookup URL. If the response differs from a non-matching guess (e.g., returns a record vs. a 404), the attacker iterates over candidate values to recover the token. No public POC exists at time of analysis, but the attack is mechanically straightforward for anyone familiar with Elixir's ETF format.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAI

Composite primary key decoding in AshAdmin (ash_admin) versions 0.1.0 through 1.3.0 can be abused by authenticated users to turn any record-lookup URL into an equality oracle over arbitrary resource attributes. By crafting a Base64+ETF-encoded payload substituting a sensitive field name (e.g., api_token, reset_token) for an actual primary key, an attacker can brute-force secret attribute values one equality guess at a time. No public exploit has been identified at time of analysis, and exploitation requires authentication and specific preconditions (CVSS 4.0: 2.3, AT:P).

RemediationAI

Upgrade ash_admin to version 1.3.1 or later; this is the only confirmed fix, applied via patch commit 3c3e905d47f1155dcc1ca3fb347348b05a66065a (https://github.com/ash-project/ash_admin/commit/3c3e905d47f1155dcc1ca3fb347348b05a66065a). Update your mix.exs dependency to {:ash_admin, "~> 1.3.1"} and run mix deps.update ash_admin. If immediate upgrade is not possible, restrict access to the AshAdmin interface to a minimal, trusted user set at the network or application authentication layer - this raises the effective PR required and eliminates unauthenticated exposure. A secondary compensating control is to ensure sensitive resource attributes such as API tokens and reset tokens are not directly stored as plaintext Ash resource attributes visible to the query engine; storing only hashed representations limits the oracle's utility since matching a hash to a candidate requires the attacker to also know the hashing scheme. Neither compensating control eliminates the vulnerability and both introduce operational trade-offs; upgrade to 1.3.1 is the definitive remediation.

Affected VersionsENISA

ash_admin 0.1.0 <1.3.1
ash_admin 98b03baa8422b94dd13e305bf08b8ee3f7232c7b <3c3e905d47f1155dcc1ca3fb347348b05a66065a

Affected Packages

euvd ash_admin fix: 1.3.1

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

AshAdmin is the official admin interface for the Ash Framework, an Elixir resource/domain modeling library. The affected function, AshAdmin.Helpers.decode_primary_key/2, handles composite primary keys encoded as Base64-wrapped Erlang Term Format (ETF) binary data. ETF deserialization via :erlang.binary_to_term/2 with the :safe option restricts new atom creation and function terms but does not restrict which already-interned atom names appear as map keys. Because the decoded map is passed verbatim as a lookup filter to the Ash query engine, any Elixir atom that already exists in the BEAM VM runtime can be used as a filter key - including sensitive resource attributes. CWE-639 (Authorization Bypass Through User-Controlled Key) precisely describes the root cause: the application trusts a user-supplied key to identify a record without verifying the key belongs to an authorized identifier namespace (the primary key fields only). The commit diff confirms the fix adds check_primary_key_fields/2, which validates that all decoded map keys are members of the resource's declared pkey field list before allowing the lookup to proceed.

Know when Ash Admin 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 2.3 LOW
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 3.1 LOW

Network-reachable but AC:H for ETF payload crafting and oracle brute-force feasibility; PR:L per CVSS 4.0; confidentiality limited to oracle equality leakage only.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/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
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Authorization Bypass Through User-Controlled Key vulnerability in ash-project ash_admin turns a record-lookup URL into an equality oracle over sensitive attributes.

AshAdmin.Helpers.decode_primary_key/2 decodes the composite-primary-key form (Base64 plus ETF) and returns the decoded map verbatim as the lookup filter, without checking that its keys are the resource's primary-key fields. The deserialization guards bound size, block new atoms and funs, and reject nested expressions, but none restricts which fields come back, and :safe still allows any already-interned attribute name. An attacker can therefore encode %{api_token: "guess"} and have it spliced into the lookup filter, brute-forcing a sensitive attribute value (API token, reset token) one equality guess at a time; Map.to_list/1 also accepts structs, yielding a bogus __struct__ key. The fix rejects any decoded key that is not a real primary-key field.

This issue affects ash_admin: from 0.1.0 before 1.3.1.

Threat Intelligence Overview

EPSS Score
0.3%
Top 83% exploitable
Prevalence
Low
niche Elixir admin framework, limited enterprise deployment footprint
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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 LOW
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

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

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.

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