Ash Framework: Ash.Type.Module.cast_input/2 atom exhaustion via unchecked Module.concat allows BEAM VM crash
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-400.
Summary
Ash Framework is a declarative, extensible framework for building Elixir applications. Prior to version 3.22.0, Ash.Type.Module.cast_input/2 unconditionally creates a new Erlang atom via Module.concat([value]) for any user-supplied binary string that starts with "Elixir.", before verifying whether the referenced module exists. Because Erlang atoms are never garbage-collected and the BEAM atom table has a hard default limit of approximately 1,048,576 entries, an attacker who can submit values to any resource attribute or argument of type :module can exhaust this table and crash the entire BEAM VM, taking down the application. This issue has been patched in version 3.22.0.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| ash-project | ash | before 3.22.0 | 3.22.0 | Patch available | CNA |
| — | ash (Hex) | before 3.22.0 | 3.22.0 | Patch available | GHSA-jjf9-w5vj-r6vp |
- ash Vendorash-project Affected before 3.22.0 Fixed in 3.22.0 Patch available CNA
- ash (Hex) Vendor— Affected before 3.22.0 Fixed in 3.22.0 Patch available GHSA-jjf9-w5vj-r6vp
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:ash-hq:ash_framework:*:*:*:*:*:*:*:* | before 3.22.0 | Vulnerable | ash-project |
- cpe:2.3:a:ash-hq:ash_framework:*:*:*:*:*:*:*:* Versions before 3.22.0 Vulnerable ·ash-project
Remediation
- Fix · CNA ash (ash-project) Fixed in 3.22.0
- Fix · GHSA-jjf9-w5vj-r6vp ash (Hex) Fixed in 3.22.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-34593
- 2026-10-03 Alias added: GHSA-jjf9-w5vj-r6vp
References
More ash-project Ash Framework vulnerabilities
- TI-2026-47745 Filter expression injection via forged keyset pagination cursor in Ash CVSS 4.0HIGH 7.5
- TI-2026-48952 Memory exhaustion via unbounded deserialization of keyset pagination cursors in Ash.Page.Keyset CVSS 4.0MEDIUM 5.9
Sources
- CVE-2026-34593 · CVE Program
- CVE-2026-34593 · NVD
- FIRST EPSS
- GHSA-jjf9-w5vj-r6vp · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences