# CVE-2026-82586: AshLua read operation aggregate bypasses the exposed-field allow-list, exposing private attributes

- Severity: High 8.2 (CVSS:4.0, scored by EEF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 28% of CVEs (2026-12-01)
- Published: 2026-09-07T22:34:14.837Z
- Modified: 2026-11-25T06:30:13.050Z
- Also known as: EEF-CVE-2026-82586, GHSA-37jv-wc37-fhcw
- Weaknesses: CWE-424
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: EEF

## Description

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.

(As written by CVE List.)

## Affected

- ash_lua: from 0.1.0 before 0.2.1
- ash-project/ash_lua: from 8675e47cca81f36594083a7e63379bac9e123e72 before c0dfcd9494766d548178c37df0bd01cff378e1c7
- ash_lua (Hex): from 0.1.0 before 0.2.1
- https://github.com/ash-project/ash_lua: from 8675e47cca81f36594083a7e63379bac9e123e72 before c0dfcd9494766d548178c37df0bd01cff378e1c7

## Every score

- EEF: CVSS:4.0 8.2 High `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`
- Erlang Ecosystem Foundation: CVSS:4.0 `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`

## References

- <https://github.com/ash-project/ash_lua/security/advisories/GHSA-37jv-wc37-fhcw> (advisory, related, vendor-advisory)
- <https://cna.erlef.org/cves/CVE-2026-82586.html> (related, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-82586> (related)
- <https://github.com/ash-project/ash_lua/commit/8675e47cca81f36594083a7e63379bac9e123e72> (related, web)
- <https://github.com/ash-project/ash_lua/commit/c0dfcd9494766d548178c37df0bd01cff378e1c7> (fix, patch)
- <https://hex.pm/packages/ash_lua> (package)

## Sources

- CVE List: [CVE-2026-82586](https://www.cve.org/CVERecord?id=CVE-2026-82586), CVE Terms of Use, modified 2026-11-19
- Erlang Ecosystem Foundation: [EEF-CVE-2026-82586](https://osv.dev/vulnerability/EEF-CVE-2026-82586), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2026-82586](https://nvd.nist.gov/vuln/detail/CVE-2026-82586), Public domain, modified 2026-11-19

---

Page: https://cve.day/CVE-2026-82586 · Whole record: https://cve.day/CVE-2026-82586.json · Rebuilt by cve.day 2026-11-25T22:59:36.557Z
