Intel

AIKIDO-2026-804798

ash_typescript is vulnerable to Incorrect Authorization

Incorrect AuthorizationCVE-2026-82730 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

The RPC result processor drops Ash ForbiddenField markers on template driven paths, but normalize_primitive/1 has no clause for them. When an action returns an embedded resource as a map, a forbidden field reaches the generic struct branch, which calls Map.from_struct/1 and serializes every key including original_value, so an RPC caller can read attribute values that field policies were configured to deny. The fix redacts ForbiddenField and NotLoaded markers during primitive normalization.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you expose AshTypescript RPC endpoints that rely on Ash field policies to hide embedded resource attributes.

Background info

ash_typescript is vulnerable to Incorrect Authorization 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