{"id":"CVE-2026-82586","summary":"AshLua read operation aggregate bypasses the exposed-field allow-list, exposing private attributes","details":"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.","aliases":["EEF-CVE-2026-82586","GHSA-37jv-wc37-fhcw"],"modified":"2026-09-10T03:30:48.440053478Z","published":"2026-09-07T22:34:14.837Z","database_specific":{"unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"8675e47cca81f36594083a7e63379bac9e123e72"},{"fixed":"c0dfcd9494766d548178c37df0bd01cff378e1c7"}]}],"cna_assigner":"EEF","cwe_ids":["CWE-424"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/82xxx/CVE-2026-82586.json"},"references":[{"type":"WEB","url":"https://cna.erlef.org/cves/CVE-2026-82586.html"},{"type":"WEB","url":"https://github.com"},{"type":"WEB","url":"https://osv.dev/vulnerability/EEF-CVE-2026-82586"},{"type":"WEB","url":"https://repo.hex.pm"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/82xxx/CVE-2026-82586.json"},{"type":"ADVISORY","url":"https://github.com/ash-project/ash_lua/security/advisories/GHSA-37jv-wc37-fhcw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-82586"},{"type":"FIX","url":"https://github.com/ash-project/ash_lua/commit/c0dfcd9494766d548178c37df0bd01cff378e1c7"},{"type":"PACKAGE","url":"https://github.com/ash-project/ash_lua"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ash-project/ash_lua","events":[{"introduced":"79c7593d1e8d79607c6f328785bf6bdd6c1e7dc9"},{"fixed":"da14a4af0671be66a68de47eb0c831f5063b1b18"},{"fixed":"c0dfcd9494766d548178c37df0bd01cff378e1c7"}],"database_specific":{"source":["DESCRIPTION","REFERENCES"],"extracted_events":[{"introduced":"0.1.0"},{"fixed":"0.2.1"}]}}],"versions":["v0.2.0","v0.1.6","v0.1.5","v0.1.4","v0.1.3","v0.1.2","v0.1.1","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-82586.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","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"}]}