Security mailing lists by PureSourceCode

CVE-2026-101028

MEDIUM 6.0CVSS 4.0

Ash.count, Ash.exists and Ash.aggregate skip related resources' read policies in filters and sorts

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.

Published
9 Oct 2026
Last modified
25 Nov 2026
Assigned by
6b3ad84c-e1a6-4bf7-a703-f496b71e49db
NVD status
Deferred
Weakness
CWE-863
Also known as
EEF-CVE-2026-101028GHSA-xj24-8f5c-pp5p
Sources
NVDJSONCVE ListJSONOSV EEF-CVE-2026-101028JSON

Scores

SourceScored byVersionScoreVector / decision
NVD 6b3ad84c-e1a6-4bf7-a703-f496b71e49db (Secondary) CVSS 4.0 MEDIUM 6.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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVE List EEF CVSS 4.0 MEDIUM 6.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
CVE List CISA-ADP SSVC Exploitation: poc; Automatable: no; Technical Impact: partial

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List https://repo.hex.pm ash
cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*
>= 2.6.0, < 3.34.6 3.34.6
CVE List https://github.com ash-project/ash
cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*
>= 30eaf1c6e8524527b703e3c4bfeff7967ee0b37c, < 80936187b27ee94f15cd875affd3141b5cb23185 80936187b27ee94f15cd875affd3141b5cb23185
OSV Hex ash >= 2.6.0, < 3.34.6 3.34.6

References

History

  • 25 Nov 2026 21:22 UTC · NVD: first stored (published 9 Oct 2026)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 9 Oct 2026)
  • 25 Nov 2026 20:10 UTC · CVE List: first stored (published 9 Oct 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.