{"id":"CVE-2026-82586","aliases":["CVE-2026-82586","EEF-CVE-2026-82586","GHSA-37jv-wc37-fhcw"],"related":[],"kind":"vulnerability","state":"published","title":"AshLua read operation aggregate bypasses the exposed-field allow-list, exposing private attributes","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.\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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\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.","source":"cvelist"},{"lang":"en","text":"## 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## Configurations\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.","format":"markdown","source":"eef"}],"published":"2026-09-07T22:34:14.837Z","modified":"2026-11-25T06:30:13.050Z","severity":{"scorer":"EEF","scheme":"CVSS:4.0","vector":"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","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"EEF","scheme":"CVSS:4.0","vector":"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","score":8.2,"rating":"HIGH"},{"scorer":"Erlang Ecosystem Foundation","scheme":"CVSS:4.0","vector":"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"}],"cwes":["CWE-424"],"affected":[{"ranges":[{"type":"semver","introduced":"0.1.0","fixed":"0.2.1","status":"affected"}],"vendor":"ash-project","product":"ash_lua","package":"ash_lua","cpe":"cpe:2.3:a:ash-project:ash_lua:*:*:*:*:*:*:*:*","repo":"https://github.com/ash-project/ash_lua","source":"cvelist"},{"ranges":[{"type":"git","introduced":"8675e47cca81f36594083a7e63379bac9e123e72","fixed":"c0dfcd9494766d548178c37df0bd01cff378e1c7","status":"affected"}],"vendor":"ash-project","product":"ash_lua","package":"ash-project/ash_lua","cpe":"cpe:2.3:a:ash-project:ash_lua:*:*:*:*:*:*:*:*","repo":"https://github.com/ash-project/ash_lua","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.1.0","status":"affected","fixed":"0.2.1"}],"ecosystem":"Hex","package":"ash_lua","purl":"pkg:hex/ash_lua","source":"eef"},{"ranges":[{"type":"git","introduced":"8675e47cca81f36594083a7e63379bac9e123e72","status":"affected","fixed":"c0dfcd9494766d548178c37df0bd01cff378e1c7"}],"repo":"https://github.com/ash-project/ash_lua","source":"eef"}],"references":[{"url":"https://github.com/ash-project/ash_lua/security/advisories/GHSA-37jv-wc37-fhcw","tags":["advisory","related","vendor-advisory"],"sources":["cvelist","eef","nvd"]},{"url":"https://cna.erlef.org/cves/CVE-2026-82586.html","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-82586","tags":["related"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ash-project/ash_lua/commit/8675e47cca81f36594083a7e63379bac9e123e72","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/ash-project/ash_lua/commit/c0dfcd9494766d548178c37df0bd01cff378e1c7","tags":["fix","patch"],"sources":["cvelist","eef","nvd"]},{"url":"https://hex.pm/packages/ash_lua","tags":["package"],"sources":["eef"]}],"credits":["Peter Ullrich","Jonatan Männchen / EEF","Zach Daniel / Ash Project"],"assigner":"EEF","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-09-08T14:44:32.288Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-82586","url":"https://www.cve.org/CVERecord?id=CVE-2026-82586","licence":"CVE Terms of Use","modified":"2026-11-19T08:33:35.216Z"},{"source":"eef","name":"Erlang Ecosystem Foundation","id":"EEF-CVE-2026-82586","url":"https://osv.dev/vulnerability/EEF-CVE-2026-82586","licence":"CC-BY-4.0","modified":"2026-11-25T06:30:13.050Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-82586","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-82586","licence":"Public domain","modified":"2026-11-19T09:18:05.353Z"}],"updatedAt":"2026-11-25T22:59:36.557Z","epss":{"score":0.00329,"percentile":0.28095,"date":"2026-12-01T12:00:22.000Z"}}