# CVE-2026-82748: Ash.Actions.Aggregate authorizes an aggregate under one action but computes it under another

- Severity: Low 2.1 (CVSS:4.0, scored by EEF) `CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:L/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.18%, higher than 8% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-01T03:52:01.686Z
- Modified: 2026-11-26T17:23:12.840Z
- Also known as: EEF-CVE-2026-82748, GHSA-g5hp-mghm-3mgp
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: EEF

## Description

Incorrect Authorization vulnerability in ash-project ash authorizes an aggregate under one read action while computing it under another, so an aggregate can run with policies that do not match the action it was authorized against.

Ash.Actions.Aggregate groups aggregates by their {authorize?, read_action} and authorizes each group under that read action, but when building the data query it selected the action as opts[:action] || read_action || <primary read> (lib/ash/actions/aggregate.ex). When a caller passed an :action option, the aggregate query ran under that action while authorization had been computed for the group's own read_action. If the run action's read policies are more permissive than the authorized one, the aggregate (a count or sum) is computed over records the authorized action's policies would have excluded, disclosing information about data the actor cannot read. The fix runs the aggregate under the same read_action it is authorized against.

This issue affects ash: from 3.5.13 before 3.32.2.

(As written by CVE List.)

## Affected

- ash: from 3.5.13 before 3.32.2
- ash-project/ash: from d2e99980380cad610dbab3c4167e85323244bc71 before 2d9b78b87d2dc72885a8aa1d660b478d42f749f7
- ash (Hex): from 3.5.13 before 3.32.2
- https://github.com/ash-project/ash: from d2e99980380cad610dbab3c4167e85323244bc71 before 2d9b78b87d2dc72885a8aa1d660b478d42f749f7

## Every score

- EEF: CVSS:4.0 2.1 Low `CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- Erlang Ecosystem Foundation: CVSS:4.0 `CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`

## References

- <https://github.com/ash-project/ash/security/advisories/GHSA-g5hp-mghm-3mgp> (exploit, advisory, related, vendor-advisory)
- <https://cna.erlef.org/cves/CVE-2026-82748.html> (related, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-82748> (related)
- <https://github.com/ash-project/ash/commit/d2e99980380cad610dbab3c4167e85323244bc71> (related, web)
- <https://github.com/ash-project/ash/commit/2d9b78b87d2dc72885a8aa1d660b478d42f749f7> (fix, patch)
- <https://hex.pm/packages/ash> (package)

## Sources

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

---

Page: https://cve.day/CVE-2026-82748 · Whole record: https://cve.day/CVE-2026-82748.json · Rebuilt by cve.day 2026-11-26T17:37:34.025Z
