Data Exposure Vulnerability in AshLua by Ash Project
CVE-2026-78216
What is CVE-2026-78216?
AshLua exposes read actions to Lua scripts executed through an eval action, allowing unauthorized access to sensitive data. The vulnerability arises because although Ash field policies effectively redact forbidden fields in returned records by replacing them with %Ash.ForbiddenField{}, this redaction does not extend to aggregate values. Consequently, a Lua script can access restricted fields by querying them as aggregates instead of regular fields, bypassing intended access controls. The corrective measures implemented ensure aggregation requests are authorized according to the resource's field policies, denying access when an actor should not be able to view the data or limiting visibility to authorized rows.
Affected Version(s)
ash_lua 0.1.0 < 0.2.2
ash_lua 8675e47cca81f36594083a7e63379bac9e123e72 < 266a5dcc56d5015b6d316c10606169e753b07450
References
CVSS V4
Timeline
Vulnerability published
Vulnerability Reserved
