PT-2026-84091 · Ash · Ash
CVSS v4.0
5.9
Medium
| Vector | AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
ash versions 1.29.0-rc0 through 3.32.1
Description
An uncontrolled resource consumption issue exists where an attacker can exhaust node memory by matching a filter that spans multiple to-many relationships in memory. The
flatten relationships/2 function in lib/ash/filter/runtime.ex eagerly builds a full Cartesian product across the filter's to-many relationship paths. This causes a record with K to-many relationships of M rows each to materialize M^K scenarios before any predicate is checked, leading to combinatorial memory allocation.Recommendations
Update ash to version 3.32.2 or later.
Exploit
Fix
Resource Exhaustion
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Ash