{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "2.6.0"
              },
              {
                "fixed": "3.34.6"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "30eaf1c6e8524527b703e3c4bfeff7967ee0b37c"
            },
            {
              "fixed": "80936187b27ee94f15cd875affd3141b5cb23185"
            },
            {
              "introduced": "8dcd5fc74090e1e1286f9790ffa58c78a5b54fcb"
            },
            {
              "fixed": "111f6c9c331bc4221babcf5617e3309a13f1bb08"
            }
          ],
          "repo": "https://github.com/ash-project/ash",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-xj24-8f5c-pp5p"
  ],
  "database_specific": {
    "cna_assigner": "EEF",
    "cwe_ids": [
      "CWE-863"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/101xxx/CVE-2026-101028.json"
  },
  "details": "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.\n\nAsh.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.\n\nThis issue affects ash: from 2.6.0 before 3.34.6.",
  "id": "CVE-2026-101028",
  "modified": "2026-10-11T02:30:57.022483483Z",
  "published": "2026-10-09T07:01:06.470Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://cna.erlef.org/cves/CVE-2026-101028.html"
    },
    {
      "type": "WEB",
      "url": "https://github.com"
    },
    {
      "type": "WEB",
      "url": "https://osv.dev/vulnerability/EEF-CVE-2026-101028"
    },
    {
      "type": "WEB",
      "url": "https://repo.hex.pm"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/101xxx/CVE-2026-101028.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/ash-project/ash/security/advisories/GHSA-xj24-8f5c-pp5p"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-101028"
    },
    {
      "type": "FIX",
      "url": "https://github.com/ash-project/ash/commit/30eaf1c6e8524527b703e3c4bfeff7967ee0b37c"
    },
    {
      "type": "FIX",
      "url": "https://github.com/ash-project/ash/commit/80936187b27ee94f15cd875affd3141b5cb23185"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/ash-project/ash"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Ash.count, Ash.exists and Ash.aggregate skip related resources' read policies in filters and sorts"
}