VDB
Sign up

EEF-CVE-2026-82586

AshLua read operation aggregate bypasses the exposed-field allow-list, exposing private attributes

Quick fix

EEF-CVE-2026-82586 — ash_lua: upgrade to the fixed version with the command below.

mix deps.update ash_lua

Details

## Summary

Improper Protection of Alternate Path vulnerability in ash-project ash\_lua allows a user-supplied Lua script to read attributes that are not on the exposed-field allow-list.

AshLua exposes Ash resources to Lua scripts, gated by a manifest declaring which fields are exposed. The read action's operation aggregate path in AshLua.Runtime took the field name straight from the Lua call and resolved it with only String.to\_existing\_atom and Ash.Query.Aggregate.new!, neither of which consults the exposed-field allow-list the normal fields path enforces. A script can therefore read the value of any attribute of any record the actor may read, including private sensitive?: true columns, via resource.read({ operation = {"list", "hashed\_password"} }); min and max give a value oracle. Anyone able to submit or influence a Lua script can reach this.

This issue affects ash\_lua: from 0.1.0 before 0.2.1.

## Configuration

Reachable only when an application exposes AshLua scripting (the AshLua.Resource / AshLua.Domain extensions) to callers who can submit or influence Lua scripts, and the exposed resource has attributes that are not on the exposed-field surface.

Are you affected?

Enter the version of the package you're using.

Affected packages

Hex/ash_lua
Introduced in: 0.1.0Fixed in: 0.2.1
Fixmix deps.update ash_lua

References