{"containers":{"cna":{"affected":[{"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:ash-project:ash_lua:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["'Elixir.AshLua.Runtime'"],"packageName":"ash_lua","packageURL":"pkg:hex/ash_lua","product":"ash_lua","programFiles":["lib/ash_lua/runtime.ex"],"programRoutines":[{"name":"'Elixir.AshLua.Runtime':eval!/2"}],"repo":"https://github.com/ash-project/ash_lua","vendor":"ash-project","versions":[{"lessThan":"0.2.1","status":"affected","version":"0.1.0","versionType":"semver"}]},{"collectionURL":"https://github.com","cpes":["cpe:2.3:a:ash-project:ash_lua:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["'Elixir.AshLua.Runtime'"],"packageName":"ash-project/ash_lua","packageURL":"pkg:github/ash-project/ash_lua","product":"ash_lua","programFiles":["lib/ash_lua/runtime.ex"],"programRoutines":[{"name":"'Elixir.AshLua.Runtime':eval!/2"}],"repo":"https://github.com/ash-project/ash_lua","vendor":"ash-project","versions":[{"lessThan":"c0dfcd9494766d548178c37df0bd01cff378e1c7","status":"affected","version":"8675e47cca81f36594083a7e63379bac9e123e72","versionType":"git"}]}],"configurations":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>Reachable only when an application exposes AshLua scripting (the <code>AshLua.Resource</code> / <code>AshLua.Domain</code> extensions) to callers who can submit or influence Lua scripts, and the exposed resource has attributes that are not on the exposed-field surface.</p>"},{"base64":false,"type":"text/markdown","value":"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."}],"value":"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."}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:ash-project:ash_lua:*:*:*:*:*:*:*:*","versionEndExcluding":"0.2.1","versionStartIncluding":"0.1.0","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"AND"}],"credits":[{"lang":"en","type":"finder","value":"Peter Ullrich"},{"lang":"en","type":"reporter","value":"Peter Ullrich"},{"lang":"en","type":"remediation developer","value":"Zach Daniel / Ash Project"},{"lang":"en","type":"coordinator","value":"Jonatan Männchen / EEF"}],"descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>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.</p>\n<p>AshLua exposes Ash resources to Lua scripts, gated by a manifest declaring which fields are exposed. The <code>read</code> action's <code>operation</code> aggregate path in <code>AshLua.Runtime</code> took the field name straight from the Lua call and resolved it with only <code>String.to_existing_atom</code> and <code>Ash.Query.Aggregate.new!</code>, neither of which consults the exposed-field allow-list the normal <code>fields</code> path enforces. A script can therefore read the value of any attribute of any record the actor may read, including private <code>sensitive?: true</code> columns, via <code>resource.read({ operation = {\"list\", \"hashed_password\"} })</code>; <code>min</code> and <code>max</code> give a value oracle. Anyone able to submit or influence a Lua script can reach this.</p>\n<p>This issue affects ash_lua: from 0.1.0 before 0.2.1.</p>"},{"base64":false,"type":"text/markdown","value":"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."}],"value":"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."}],"impacts":[{"capecId":"CAPEC-554","descriptions":[{"lang":"en","value":"CAPEC-554 Functionality Bypass"}]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":8.2,"baseSeverity":"HIGH","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-424","description":"CWE-424 Improper Protection of Alternate Path","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-09-07T22:34:14.837Z","orgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","shortName":"EEF"},"references":[{"tags":["vendor-advisory","related"],"url":"https://github.com/ash-project/ash_lua/security/advisories/GHSA-37jv-wc37-fhcw"},{"tags":["related"],"url":"https://cna.erlef.org/cves/CVE-2026-82586.html"},{"tags":["related"],"url":"https://osv.dev/vulnerability/EEF-CVE-2026-82586"},{"tags":["patch"],"url":"https://github.com/ash-project/ash_lua/commit/c0dfcd9494766d548178c37df0bd01cff378e1c7"}],"source":{"discovery":"EXTERNAL"},"title":"AshLua read operation aggregate bypasses the exposed-field allow-list, exposing private attributes"}},"cveMetadata":{"assignerOrgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","assignerShortName":"EEF","cveId":"CVE-2026-82586","datePublished":"2026-09-07T22:34:14.837Z","dateReserved":"2026-09-07T19:30:01.631Z","dateUpdated":"2026-09-07T22:34:14.837Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"}