# CVE-2026-86338: Ash field policies do not filter-nil forbidden calculations and aggregates, enabling an information-disclosure oracle

- Severity: Medium 6.0 (CVSS:4.0, scored by EEF) `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/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.32%, higher than 27% of CVEs (2026-12-01)
- Published: 2026-09-16T08:28:44.114Z
- Modified: 2026-11-26T17:23:13.832Z
- Also known as: EEF-CVE-2026-86338, GHSA-7qr8-wrvq-566q
- Weaknesses: CWE-1220
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: EEF

## Description

Ash field_policies are documented to protect against filter-based information disclosure: when a field the actor may not see is referenced in a filter, it is replaced with an expression that evaluates to nil, so a filter cannot be used as a yes/no oracle to read a value the actor cannot see.

This nilling was applied to attributes but not to calculations or aggregates. A user-supplied filter reference to a calculation or aggregate carries an Ash.Query.Calculation / Ash.Query.Aggregate struct, which the authorizer's reference replacement did not match (it only matched the Ash.Resource.* structs), so the filter ran against the real value.

As a result, an actor whose field policies forbid a calculation or aggregate can still filter by it (for example filter(secret_calc == "x") or filter(comment_count == n)) and learn the value from whether rows match — an oracle that recovers field-policy-protected values one probe at a time. Filtering is commonly exposed to lower-privileged actors (for example via AshGraphql or AshJsonApi filter arguments), which is exactly the surface field policies are meant to protect.

The fix routes filter references to calculations and aggregates through the same field-policy nilling as attributes.

This issue affects ash: from 2.11.0-rc.0 before 3.33.4.

(As written by CVE List.)

## Affected

- ash: from 2.11.0-rc.0 before 3.33.4
- ash-project/ash: from 0b6d93c7c4637280b46ae66ea1d2eaf013701238 before b3d4503241f3deacb5ceb955e10a4fa927da0f67
- ash (Hex): from 2.11.0-rc.0 before 3.33.4
- https://github.com/ash-project/ash: from 0b6d93c7c4637280b46ae66ea1d2eaf013701238 before b3d4503241f3deacb5ceb955e10a4fa927da0f67

## Every score

- EEF: CVSS:4.0 6.0 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/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:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`

## References

- <https://github.com/ash-project/ash/security/advisories/GHSA-7qr8-wrvq-566q> (advisory, vendor-advisory)
- <https://cna.erlef.org/cves/CVE-2026-86338.html> (related, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-86338> (related)
- <https://github.com/ash-project/ash/commit/0b6d93c7c4637280b46ae66ea1d2eaf013701238> (related, web)
- <https://github.com/ash-project/ash/commit/b3d4503241f3deacb5ceb955e10a4fa927da0f67> (fix, patch)
- <https://hex.pm/packages/ash> (package)

## Sources

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

---

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