Skip to main content

Ash Framework CVE-2026-82752

| EUVDEUVD-2026-72014 MEDIUM
Improper Validation of Specified Quantity in Input (CWE-1284)
2026-09-05 EEF
5.9
CVSS 4.0 · Vendor: EEF
View

Attack ChainAIDerived

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

  1. Access
    Locate Ash API endpoint accepting string-constrained input
  2. Delivery
    Craft string with one base character and millions of combining-mark codepoints
  3. Exploit
    Submit value satisfying grapheme max_length constraint
  4. Execution
    Ash stores oversized value in unbounded text/ETS/Mnesia column
  5. Persist
    Repeat submissions to grow storage without bound
  6. Impact
    Storage exhaustion causes service outage

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V2 - Validation and Business Logic Input size validation
Exploitation Conditions

The target application must run Ash versions 0.10.0-3.32.x and must expose at least one attribute or validation using max_length, min_length, Ash.Resource.Validation.StringLength, or the string_length/1 expression function. The backing store for that attribute must use an unbounded storage type: a PostgreSQL text column, an ETS table, or a Mnesia table. Applications using PostgreSQL varchar(n) columns for all constrained attributes are not exposed, as the database enforces a codepoint ceiling regardless of framework behavior. No authentication is required by the vulnerability itself; whether an attacker can reach the input endpoint depends entirely on the application's own access controls. There is no requirement for special network position.

Impact

The vendor-assigned CVSS 4.0 vector (AV:L/AC:L/AT:P/PR:N/VA:H) scores 5.9 and correctly captures the high availability impact and the specific attack requirement (AT:P - unbounded storage backing). However, AV:L understates the network reachability: the attack is delivered via HTTP or other network API calls to any Ash application that exposes a string-constrained field; it is not restricted to local access. AT:P appropriately reflects that PostgreSQL varchar(n) columns mitigate the flaw, while text columns and in-memory stores do not. No EPSS score is provided; no KEV listing exists; no public exploit code is identified. The attack is mechanically trivial - generating combining-mark strings requires no special tooling - which means that once this advisory is widely read, exploitation is low-barrier. Impact is confined to storage exhaustion DoS and minor integrity deviation; there is no code execution path. The RCE tag present in the input metadata is factually incorrect for this vulnerability and should be disregarded.

Exploit ScenarioDerived

An attacker targeting a web application backed by Ash and a PostgreSQL text column identifies a user-facing input field - such as a display name or bio - declared with max_length: 128. The attacker submits a string of a single Latin letter followed by hundreds of thousands of Unicode combining-mark codepoints; Ash's constraint evaluates the grapheme count as 1 and accepts the value, writing several megabytes to the database. Repeated submissions of this form rapidly exhaust available storage, taking the application offline.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Sep 05, 2026

Unbounded string storage in Ash Framework versions 0.10.0 through 3.32.x allows unauthenticated attackers to bypass max_length and min_length constraints by submitting Unicode strings whose grapheme count is small but whose codepoint and byte footprint is arbitrarily large. Ash's constraint logic calls Elixir's String.length/1, which counts graphemes; a single base character followed by millions of combining accent codepoints is one grapheme but megabytes of data, satisfying max_length: 2 while writing the entire payload to storage. When the backing store is a PostgreSQL text column, ETS table, or Mnesia table, the oversized value is persisted without limit, enabling storage exhaustion. No public exploit code or CISA KEV listing exists at the time of analysis.

RemediationAI

Upgrade to Ash 3.33.0 or later. After upgrading, add the now-required configuration key to config/config.exs - specifically config :ash, :default_string_length_count, :codepoints - which switches all string length counting from graphemes to Unicode codepoints, aligning framework-level validation with storage-layer semantics. This configuration is mandatory: compiling any Ash resource will fail until it is set to either :codepoints or :mixed. Setting it to :mixed preserves the old grapheme-counting behavior and does not remediate the vulnerability. Applications that cannot upgrade immediately should audit string-constrained attributes and migrate their backing columns from text to varchar(n) in PostgreSQL, which enforces a server-side codepoint limit independently of framework validation. The fix commits are available at https://github.com/ash-project/ash/commit/a64cab49b8886503e6b7c7b211d83c475aac48ca and https://github.com/ash-project/ash/commit/cdbf4c4da6bda5f6f139078f01a64320b595216d.

Affected VersionsENISA

ash 05848d5f4affe60fddd812222a18ada080c0813b <*
ash 0.10.0 <3.33.0

Affected Packages

euvd ash fix: 3.33.0

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

Ash (CPE cpe:2.3:a:ash-project:ash) is a resource-modeling framework for Elixir applications. The root cause maps to CWE-1284 (Improper Validation of Specified Quantity in Input): the quantity measured - Unicode graphemes via String.length/1 - is not the same quantity controlled by the storage layer. The flaw appears in three code paths: Ash.Type.String's apply_constraints/2 in lib/ash/type/string.ex, the Ash.Resource.Validation.StringLength validator, and the string_length/1 expression function in lib/ash/query/function/string_length.ex. Unicode graphemes are user-perceived characters that can be composed of one base codepoint plus an unlimited number of combining-mark codepoints (e.g., U+0301 COMBINING ACUTE ACCENT). A string consisting of 'a' followed by 1,000,000 combining marks has a String.length/1 result of 1 but requires over 3 MB of storage. PostgreSQL varchar(n) columns enforce a codepoint limit server-side and are not exposed; PostgreSQL text columns, ETS tables, and Mnesia tables impose no independent limit.

Know when Ash 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 5.9 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
vuln.today AI 8.2 HIGH

Attack is network-delivered via API; AV:N corrects vendor AV:L; AC:L because combining-mark generation is trivial; I:L for constraint-bypass data write; A:H for storage exhaustion.

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

Primary rating from Vendor (EEF).

CVSS VectorVendor: EEF

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

DescriptionCVE.org

Improper Validation of Specified Quantity in Input vulnerability in ash-project ash allows an attacker to store a value of arbitrary size in an attribute whose length constraint should bound it.

Ash measures string length with Elixir's String.length/1, which counts Unicode graphemes, in the max_length and min_length constraints of Ash.Type.String (apply_constraints/2 in lib/ash/type/string.ex), in Ash.Resource.Validation.StringLength, and in the string_length expression function. A grapheme carries an unbounded number of combining marks, so a base character followed by a million combining acute accents is one grapheme and megabytes of data, and satisfies max_length: 2. Where the data layer imposes no independent limit (ETS, Mnesia, or a Postgres text column) the whole value is persisted, so an attacker can write an entire request body into an attribute declared with a small maximum and grow storage without bound.

The counting unit also disagrees with the storage layer, which counts codepoints rather than graphemes, so a value accepted by the constraint can still be rejected or truncated by the column. A Postgres varchar(n) column bounds the value itself and is not exposed.

This issue affects ash: from 0.10.0 before 3.33.0.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
Low
niche Elixir resource framework, limited enterprise production footprint
Data Quality
6 sources
Confidence: High

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

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

More in Ash

View all
CVE-2026-55736 MEDIUM POC
5.9 Jun 23

Private argument injection in the Ash Elixir framework (versions 3.0.0 through 3.29.2) allows end users to set action ar

CVE-2021-45688 CRITICAL
9.8 Dec 27

An issue was discovered in the ash crate before 0.33.1 for Rust. Rated critical severity (CVSS 9.8), this vulnerability

CVE-2026-124283 HIGH
8.9 Nov 24

Unauthenticated attackers can turn a forged keyset pagination cursor into OS command execution or raw SQL injection in E

CVE-2026-94201 HIGH
8.2 Oct 05

Atom table exhaustion in the Ash framework (Elixir) allows an unauthenticated remote attacker to crash a BEAM node by su

CVE-2026-96581 HIGH
7.6 Oct 26

Cross-tenant record takeover in the Ash framework (Elixir) for versions 1.22.0 up to 3.37.2: when a resource uses attrib

CVE-2026-86338 MEDIUM
6.0 Sep 16

An authorization bypass in the Ash framework (Elixir) lets authenticated, lower-privileged actors recover values they ar

CVE-2026-101028 MEDIUM
6.0 Oct 09

Information disclosure in the Ash framework for Elixir (versions 2.6.0 up to but not including 3.34.6) lets an authentic

CVE-2026-114214 MEDIUM
6.0 Oct 25

An incorrect authorization flaw in the Elixir Ash framework (versions 3.24.0 up to but not including 3.37.1) lets an aut

CVE-2026-82738 MEDIUM
5.9 Sep 01

Persistent record-level denial of service in the ash Elixir resource framework (versions 3.6.3-3.32.1) lets any actor wh

CVE-2026-82737 MEDIUM
5.9 Sep 01

Integer overflow in Ash Framework's vector encoding corrupts stored vectors in any Elixir application using Ash versions

CVE-2026-82735 MEDIUM
5.9 Sep 01

CPU exhaustion in Ash Framework's string type constraint handler allows denial of service against Elixir applications th

CVE-2026-69659 MEDIUM
5.9 Aug 09

Memory exhaustion via decompression bomb in Ash Framework's keyset pagination can terminate Erlang nodes running version

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