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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.0
- **CVSS:** 6.0 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: Low; User interaction: None; Confidentiality impact: High; Integrity impact: None; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.43% (percentile 29, 2026-11-26)
- **CWE:** CWE-1220
- **Published:** 2026-09-16T08:28:44.114Z
- **Modified:** 2026-11-19T08:31:24.090Z

## Who should check

- Anyone running ash-project ash \>= 2.11.0-rc.0, \< 3.33.4
- Anyone running ash-project ash \>= 0b6d93c7c4637280b46ae66ea1d2eaf013701238, \< b3d4503241f3deacb5ceb955e10a4fa927da0f67

## 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.

## Affected and fixed versions

- ash-project ash: \>= 2.11.0-rc.0, \< 3.33.4 (cvelist)
- ash-project ash: \>= 0b6d93c7c4637280b46ae66ea1d2eaf013701238, \< b3d4503241f3deacb5ceb955e10a4fa927da0f67 (cvelist)

## Mitigation

- Upgrade ash to 3.33.4 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-86338. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-86338.md
Affected: ash-project ash >= 2.11.0-rc.0, < 3.33.4; ash-project ash >= 0b6d93c7c4637280b46ae66ea1d2eaf013701238, < b3d4503241f3deacb5ceb955e10a4fa927da0f67
Fixed in: ash-project ash 3.33.4

Steps:
1. Search this machine and project for ash-project ash: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-86338 being exploited?

There is no confirmed exploitation: CVE-2026-86338 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.43% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-86338?

Medium: CVSS 6.0 (v4.0, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-86338?

ash-project ash \>= 2.11.0-rc.0, \< 3.33.4; ash-project ash \>= 0b6d93c7c4637280b46ae66ea1d2eaf013701238, \< b3d4503241f3deacb5ceb955e10a4fa927da0f67.

### Is there a fix for CVE-2026-86338?

Yes. Fixed in ash-project ash 3.33.4. Upgrade ash to 3.33.4 or later.

### How do I check if I'm affected by CVE-2026-86338?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/ash-project/ash/security/advisories/GHSA-7qr8-wrvq-566q>
- patch: <https://github.com/ash-project/ash/commit/0b6d93c7c4637280b46ae66ea1d2eaf013701238>
- patch: <https://github.com/ash-project/ash/commit/b3d4503241f3deacb5ceb955e10a4fa927da0f67>
- other: <https://cna.erlef.org/cves/CVE-2026-86338.html>
- other: <https://osv.dev/vulnerability/EEF-CVE-2026-86338>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-86338>

HTML: <https://flawdb.com/CVE-2026-86338> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-86338>
