Intel

AIKIDO-2026-158908

ash_typescript is vulnerable to Uncontrolled Resource Consumption

Uncontrolled Resource ConsumptionCVE-2026-77856 Published 2 days ago

82

High Risk

This Affects:

ELIXIRash_typescript
0.11.0 - 0.17.3
Fixed in 0.18.0
Are you affected? Scan for Free

TL;DR

ash_typescript resolve_typed_struct_field/2 calls String.to_atom/1 on client-supplied field names that are not in the typed struct reverse map, before unknown fields are rejected. Atoms are never garbage collected, so repeated RPC requests with distinct unresolved field names exhaust the BEAM atom table and crash the node. The path needs a resource field backed by an Ash.TypedStruct that is reachable through an RPC endpoint. The fix no longer converts those field names to atoms.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you expose an RPC endpoint with a resource field backed by an Ash.TypedStruct.

Background info

ash_typescript is vulnerable to Uncontrolled Resource Consumption in versions 0.11.0 - 0.17.3.

How to fix this

Upgrade the ash_typescript library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform