Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLocate Ash API endpoint accepting string-constrained input
-
DeliveryCraft string with one base character and millions of combining-mark codepoints
-
ExploitSubmit value satisfying grapheme max_length constraint
-
ExecutionAsh stores oversized value in unbounded text/ETS/Mnesia column
-
PersistRepeat submissions to grow storage without bound
-
ImpactStorage 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (EEF).
CVSS VectorVendor: EEF
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Private argument injection in the Ash Elixir framework (versions 3.0.0 through 3.29.2) allows end users to set action ar
An issue was discovered in the ash crate before 0.33.1 for Rust. Rated critical severity (CVSS 9.8), this vulnerability
Unauthenticated attackers can turn a forged keyset pagination cursor into OS command execution or raw SQL injection in E
Atom table exhaustion in the Ash framework (Elixir) allows an unauthenticated remote attacker to crash a BEAM node by su
Cross-tenant record takeover in the Ash framework (Elixir) for versions 1.22.0 up to 3.37.2: when a resource uses attrib
An authorization bypass in the Ash framework (Elixir) lets authenticated, lower-privileged actors recover values they ar
Information disclosure in the Ash framework for Elixir (versions 2.6.0 up to but not including 3.34.6) lets an authentic
An incorrect authorization flaw in the Elixir Ash framework (versions 3.24.0 up to but not including 3.37.1) lets an aut
Persistent record-level denial of service in the ash Elixir resource framework (versions 3.6.3-3.32.1) lets any actor wh
Integer overflow in Ash Framework's vector encoding corrupts stored vectors in any Elixir application using Ash versions
CPU exhaustion in Ash Framework's string type constraint handler allows denial of service against Elixir applications th
Memory exhaustion via decompression bomb in Ash Framework's keyset pagination can terminate Erlang nodes running version
EUVD-2026-72014
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB