---
id: CVE-2026-101028
title: >-
  Incorrect Authorization vulnerability in ash-project ash allows an actor to
  infer data in related records they cannot read via Ash.count/2, Ash.exists/2
  and Ash.aggregate/3.


  Ash.Actions.Aggregate.run/4 (lib/ash/actions/aggregate.ex) app…
summary: >-
  Incorrect Authorization vulnerability in ash-project ash allows an actor to
  infer data in related records they cannot read via Ash.count/2, Ash.exists/2
  and Ash.aggregate/3.


  Ash.Actions.Aggregate.run/4 (lib/ash/actions/aggregate.ex) app…
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'
cwe:
  - CWE-863
vendor: Red Hat
published: '2026-10-09'
updated: '2026-10-09'
sourceUpdated: '2026-10-09T18:17:01.197'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-101028'
references:
  - url: 'https://cna.erlef.org/cves/CVE-2026-101028.html'
    label: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
  - url: >-
      https://github.com/ash-project/ash/commit/30eaf1c6e8524527b703e3c4bfeff7967ee0b37c
    label: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
  - url: >-
      https://github.com/ash-project/ash/commit/80936187b27ee94f15cd875affd3141b5cb23185
    label: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
  - url: 'https://github.com/ash-project/ash/security/advisories/GHSA-xj24-8f5c-pp5p'
    label: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
  - url: 'https://osv.dev/vulnerability/EEF-CVE-2026-101028'
    label: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
  - url: 'https://github.com/ash-project/ash/security/advisories/GHSA-xj24-8f5c-pp5p'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-101028.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-101028'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-101028'
tags:
  - nvd
  - csaf
  - vex
  - red-hat
epss: 0.00269
epssPercentile: 0.17483
cvssSource: vendor
ingestedAt: '2026-10-09T07:28:22.264Z'
---

## Overview

Incorrect Authorization vulnerability in ash-project ash allows an actor to infer data in related records they cannot read via Ash.count/2, Ash.exists/2 and Ash.aggregate/3.

Ash.Actions.Aggregate.run/4 (lib/ash/actions/aggregate.ex) applied only the root resource's read policy before running the aggregate query. The read path also applies each related resource's read policy to filter and sort references that cross a relationship, directly (for example comments.body) or through an aggregate over one, but the aggregate path skipped that step. A caller whose filter or sort reaches these functions, for example through Ash.Query.filter_input/2, an ash_lua script, or an AshAi tool offering count or exists results, can test conditions against related rows hidden from them and recover their existence and attribute values one query at a time. Ash.read/2 and its page counts are not affected.

This issue affects ash: from 2.6.0 before 3.34.6.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **Red Hat VEX** · updated 2026-10-09 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-101028.json)
