{"id":"CVE-2026-82586","aliases":["EEF-CVE-2026-82586","GHSA-37jv-wc37-fhcw"],"title":"AshLua read operation aggregate bypasses the exposed-field allow-list, exposing private attributes","titleSource":"EEF","descriptionSource":"OSV","description":"## 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.","severity":"high","score":8.2,"published":"2026-09-07T22:34:14.837Z","modified":"2026-11-25T06:30:13.050Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Hex","name":"ash_lua","sources":[{"name":"OSV · EEF-CVE-2026-82586","url":"https://osv.dev/vulnerability/EEF-CVE-2026-82586"}],"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"],"fixed":["0.2.1"]}],"sourceAffected":[{"ranges":[{"events":[{"introduced":"8675e47cca81f36594083a7e63379bac9e123e72"},{"fixed":"c0dfcd9494766d548178c37df0bd01cff378e1c7"}],"type":"GIT","repo":"https://github.com/ash-project/ash_lua"}],"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"]}],"references":["https://github.com/ash-project/ash_lua/security/advisories/GHSA-37jv-wc37-fhcw","https://cna.erlef.org/cves/CVE-2026-82586.html","https://osv.dev/vulnerability/EEF-CVE-2026-82586","https://github.com/ash-project/ash_lua/commit/8675e47cca81f36594083a7e63379bac9e123e72","https://github.com/ash-project/ash_lua/commit/c0dfcd9494766d548178c37df0bd01cff378e1c7","https://hex.pm/packages/ash_lua"],"sources":[{"name":"CVE","id":"CVE-2026-82586","modified":"2026-11-19T08:33:35.216Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-82586"},{"name":"OSV","id":"EEF-CVE-2026-82586","modified":"2026-11-25T06:30:13.050667426Z","url":"https://osv.dev/vulnerability/EEF-CVE-2026-82586"}],"assessments":[{"source":"EEF","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},{"source":"OSV","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}],"cve":{"records":[{"id":"CVE-2026-82586","source":"EEF","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-09-07T19:30:01.631Z","published":"2026-09-07T22:34:14.837Z","modified":"2026-11-19T08:33:35.216Z"}],"publishers":[{"name":"EEF","role":"CNA","organizationId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","modified":"2026-11-19T08:33:35.216Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-09-08T14:44:37.935Z"}],"references":[{"url":"https://github.com/ash-project/ash_lua/security/advisories/GHSA-37jv-wc37-fhcw","tags":["vendor-advisory","related"],"source":"EEF"},{"url":"https://cna.erlef.org/cves/CVE-2026-82586.html","tags":["related"],"source":"EEF"},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-82586","tags":["related"],"source":"EEF"},{"url":"https://github.com/ash-project/ash_lua/commit/8675e47cca81f36594083a7e63379bac9e123e72","tags":["related"],"source":"EEF"},{"url":"https://github.com/ash-project/ash_lua/commit/c0dfcd9494766d548178c37df0bd01cff378e1c7","tags":["patch"],"source":"EEF"}],"weaknesses":[{"id":"CWE-424","description":"CWE-424 Improper Protection of Alternate Path","source":"EEF"}],"applicability":[{"source":"EEF","statements":[{"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"}]}],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-09-08T14:44:32.288129Z","decisions":[{"name":"Exploitation","value":"none"},{"name":"Automatable","value":"no"},{"name":"Technical Impact","value":"partial"}]}]},"products":[{"vendor":"ash-project","name":"ash_lua","platforms":[],"versions":[{"version":"0.1.0","status":"affected","lessThan":"0.2.1","versionType":"semver"}],"defaultStatus":"unaffected","packageURL":"pkg:hex/ash_lua","packageIdentity":{"ecosystem":"Hex","name":"ash_lua"},"cpes":["cpe:2.3:a:ash-project:ash_lua:*:*:*:*:*:*:*:*"],"source":"EEF","url":"https://www.cve.org/CVERecord?id=CVE-2026-82586"},{"vendor":"ash-project","name":"ash_lua","platforms":[],"versions":[{"version":"8675e47cca81f36594083a7e63379bac9e123e72","status":"affected","lessThan":"c0dfcd9494766d548178c37df0bd01cff378e1c7","versionType":"git"}],"defaultStatus":"unaffected","packageURL":"pkg:github/ash-project/ash_lua","cpes":["cpe:2.3:a:ash-project:ash_lua:*:*:*:*:*:*:*:*"],"source":"EEF","url":"https://www.cve.org/CVERecord?id=CVE-2026-82586"}],"remediation":[],"observedAt":"2026-11-25T07:53:57.123Z","kev":{"status":"not-listed","checkedAt":"2026-11-28T22:45:30.745Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-11-19T09:15:33.961Z","attemptedAt":"2026-11-19T09:15:33.961Z"},{"source":"GHSA","status":"no-result","checkedAt":"2026-11-19T09:15:33.962Z","attemptedAt":"2026-11-19T09:15:33.962Z"},{"source":"EUVD","status":"available","checkedAt":"2026-11-19T09:15:33.077Z","attemptedAt":"2026-11-19T09:15:33.077Z"},{"source":"EPSS","status":"available","checkedAt":"2026-11-19T09:15:33.342Z","attemptedAt":"2026-11-19T09:15:33.342Z"}],"evidence":[{"source":"ENISA EUVD","id":"EUVD-2026-72542","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-72542","modified":"Sep 8, 2026, 2:44:37 PM","score":8.2,"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","checkedAt":"2026-11-19T09:15:33.077Z"},{"source":"FIRST EPSS","id":"CVE-2026-82586","url":"https://www.first.org/epss/","probability":0.00524,"percentile":0.45125,"date":"2026-11-18","checkedAt":"2026-11-19T09:15:33.342Z"},{"source":"NVD","id":"CVE-2026-82586","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-82586","modified":"2026-09-08T15:18:49.860","score":8.2,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","checkedAt":"2026-11-19T09:15:33.961Z"}],"aiSummary":{"text":"AshLua's read operation aggregate bypasses the exposed-field allow-list, exposing private attributes in versions 0.1.0 before 0.2.1. A user-supplied Lua script can read attributes not on the allow-list. This affects ash_lua when an application exposes AshLua scripting to callers who can submit or influence Lua scripts.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-11-19T09:01:05.427Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-82586"},{"name":"OSV","url":"https://osv.dev/vulnerability/EEF-CVE-2026-82586"}]}}