CVE-2026-82742: CWE-400 Uncontrolled Resource Consumption in ash-project ash
Description
Uncontrolled Resource Consumption vulnerability in ash-project ash lets an attacker exhaust node memory by matching a filter that spans multiple to-many relationships in memory. Ash.Filter.Runtime matches a filter against an in-memory record by first expanding the record into combinations of its related rows. flatten_relationships/2 (lib/ash/filter/runtime.ex) eagerly built the full Cartesian product across the filter's to-many relationship paths, so a record with K to-many relationships of M rows each materialized on the order of M^K scenarios before any predicate was checked. A filter or dataset that reaches several sizeable to-many relationships therefore allocates memory combinatorially and can exhaust the node. The fix streams the expansion lazily and short-circuits on the first matching scenario, bounding the work. This issue affects ash: from 1.29.0-rc0 before 3.32.2.
CVSS v4.0
Score 5.9medium
Affected software
ash-project
ash
ash-project
ash
cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in ash-project ash (CVE-2026-82742) is caused by the Ash.Filter.Runtime module's flatten_relationships/2 function, which eagerly constructs the full Cartesian product of to-many relationship paths when matching filters against in-memory records. For a record with K to-many relationships each having M rows, this results in approximately M^K combinations being materialized before any predicate evaluation, leading to uncontrolled memory consumption. An attacker can exploit this by crafting filters that span multiple sizeable to-many relationships, causing the node to exhaust its memory resources. The fix involves streaming the expansion lazily and short-circuiting upon the first matching scenario to limit resource usage. The vulnerability affects ash versions from 1.29.0-rc0 before 3.32.2. No patch or official remediation level has been confirmed.
Potential Impact
An attacker can cause the ash node to exhaust its memory by submitting filters that trigger the eager expansion of multiple to-many relationships, leading to uncontrolled resource consumption. This can degrade service availability or cause denial of service due to memory exhaustion. There is no indication of privilege escalation, data disclosure, or code execution from the provided data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid using filters that span multiple to-many relationships on large datasets to reduce the risk of memory exhaustion. Monitor application behavior for signs of excessive memory use when applying complex filters.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- EEF
- Date Reserved
- 2026-08-31T01:00:09.774Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a964c16acd9273b492d135d
Added to database: 09/01/2026, 03:52:54 UTC
Last enriched: 09/07/2026, 15:05:56 UTC
Last updated: 10/15/2026, 18:48:24 UTC
Views: 78
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.