{"affected":[{"package":{"ecosystem":"Hex","name":"ash_lua","purl":"pkg:hex/ash_lua"},"ranges":[{"events":[{"introduced":"0.1.0"},{"fixed":"0.2.1"}],"type":"SEMVER"}],"versions":["0.1.0","0.1.1","0.1.2","0.1.3","0.1.4","0.1.5","0.1.6","0.2.0"]},{"ranges":[{"events":[{"introduced":"8675e47cca81f36594083a7e63379bac9e123e72"},{"fixed":"c0dfcd9494766d548178c37df0bd01cff378e1c7"}],"repo":"https://github.com/ash-project/ash_lua","type":"GIT"}]}],"aliases":["GHSA-37jv-wc37-fhcw","CVE-2026-82586"],"credits":[{"name":"Peter Ullrich","type":"FINDER"},{"name":"Peter Ullrich","type":"REPORTER"},{"name":"Zach Daniel / Ash Project","type":"REMEDIATION_DEVELOPER"},{"name":"Jonatan Männchen / EEF","type":"COORDINATOR"}],"database_specific":{"capec_ids":["CAPEC-554"],"cpe_ids":["cpe:2.3:a:ash-project:ash_lua:*:*:*:*:*:*:*:*"],"cwe_ids":["CWE-424"]},"details":"## Summary\n\nImproper 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.\n\nAshLua 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.\n\nThis issue affects ash\\_lua: from 0.1.0 before 0.2.1.\n\n## Configuration\n\nReachable 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.","id":"EEF-CVE-2026-82586","modified":"2026-09-07T22:34:15.322186Z","published":"2026-09-07T22:34:14.837Z","references":[{"type":"ADVISORY","url":"https://github.com/ash-project/ash_lua/security/advisories/GHSA-37jv-wc37-fhcw"},{"type":"WEB","url":"https://cna.erlef.org/cves/CVE-2026-82586.html"},{"type":"FIX","url":"https://github.com/ash-project/ash_lua/commit/c0dfcd9494766d548178c37df0bd01cff378e1c7"},{"type":"PACKAGE","url":"https://hex.pm/packages/ash_lua"}],"related":[],"schema_version":"1.7.3","severity":[{"score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","type":"CVSS_V4"}],"summary":"AshLua read operation aggregate bypasses the exposed-field allow-list, exposing private attributes","upstream":[]}