CVE-2026-77856
Unbounded atom creation from typed struct field names in AshTypescript field selector
- State
- Published
- Severity
- 8.2 High
- Published
- Sep 1, 2026
- Updated
- Sep 1, 2026
- Reserved
- Aug 30, 2026
Description
Allocation of Resources Without Limits or Throttling vulnerability in ash-project ash_typescript allows an unauthenticated attacker to exhaust the BEAM atom table and abort the node via client-supplied typed struct field names.
resolve_typed_struct_field/2 in lib/ash_typescript/rpc/field_processing/field_selector.ex looks a client-supplied field name up in the typed struct's reverse map and, when it finds no match, falls back to String.to_atom/1. Because this runs before any field-existence check, an unresolvable name mints a permanent atom rather than being rejected as unknown. Atoms are never garbage collected, so a request carrying many distinct names on a typed struct field grows the atom table until the VM aborts at its limit.
This issue affects ash_typescript: from 0.11.0 before 0.18.0.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 8.2 High | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | EEF |
Weaknesses
- CWE-770 Allocation of Resources Without Limits or Throttling
Affected Products
| Product | Versions |
|---|---|
ash_typescriptash-project |
|
ash_typescriptash-project |
|
References
- https://github.com/ash-project/ash_typescript/security/advisories/GHSA-rj47-h936-4cxwrelatedvendor-advisory
- https://cna.erlef.org/cves/CVE-2026-77856.htmlrelated
- https://osv.dev/vulnerability/EEF-CVE-2026-77856related
- https://github.com/ash-project/ash_typescript/commit/0ab5c83a7df28d51a6de1fb9b859a142b2b12919patch
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.