CVE-2026-82586
HIGH 8.2CVSS 4.0AshLua read operation aggregate bypasses the exposed-field allow-list, exposing private attributes
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.
AshLua 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.
This issue affects ash_lua: from 0.1.0 before 0.2.1.
- Published
- 7 Sep 2026
- Last modified
- 25 Nov 2026
- Assigned by
- 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
- NVD status
- Deferred
- Weakness
- CWE-424
- Also known as
- EEF-CVE-2026-82586GHSA-37jv-wc37-fhcw
- Sources
- NVDJSONCVE ListJSONOSV EEF-CVE-2026-82586JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 6b3ad84c-e1a6-4bf7-a703-f496b71e49db (Secondary) | CVSS 4.0 | HIGH 8.2 | 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 |
| CVE List | EEF | CVSS 4.0 | HIGH 8.2 | 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 |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | https://repo.hex.pm | ash_luacpe:2.3:a:ash-project:ash_lua:*:*:*:*:*:*:*:* |
>= 0.1.0, < 0.2.1 | 0.2.1 |
| CVE List | https://github.com | ash-project/ash_luacpe:2.3:a:ash-project:ash_lua:*:*:*:*:*:*:*:* |
>= 8675e47cca81f36594083a7e63379bac9e123e72, < c0dfcd9494766d548178c37df0bd01cff378e1c7 | c0dfcd9494766d548178c37df0bd01cff378e1c7 |
| OSV | Hex | ash_lua | >= 0.1.0, < 0.2.1 | 0.2.1 |
References
- https://cna.erlef.org/cves/CVE-2026-82586.html · related, WEB
- https://github.com/ash-project/ash_lua/commit/8675e47cca81f36594083a7e63379bac9e123e72 · related, WEB
- https://github.com/ash-project/ash_lua/commit/c0dfcd9494766d548178c37df0bd01cff378e1c7 · patch, FIX
- https://github.com/ash-project/ash_lua/security/advisories/GHSA-37jv-wc37-fhcw · vendor-advisory, related, ADVISORY
- https://osv.dev/vulnerability/EEF-CVE-2026-82586 · related
- https://hex.pm/packages/ash_lua · PACKAGE
History
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 7 Sep 2026)
- 25 Nov 2026 20:10 UTC · CVE List: first stored (published 7 Sep 2026)
- 25 Nov 2026 20:10 UTC · NVD: first stored (published 7 Sep 2026)