{"schema":"threatline.record/2","record":{"id":"CVE-2026-101028","aliases":["GHSA-xj24-8f5c-pp5p"],"summary":"Ash.count, Ash.exists and Ash.aggregate skip related resources' read policies in filters and sorts","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.","categories":["Unclassified"],"product":"ash","vendor":"ash-project","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-101028","source_modified_at":"2026-10-09T18:04:24.729Z","fetched_at":"2026-10-23T18:48:36.087640Z","product":"ash","vendor":"ash-project","versions":[{"lessThan":"3.34.6","status":"affected","version":"2.6.0","versionType":"semver"}],"defaultStatus":"unaffected"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-101028","source_modified_at":"2026-10-09T18:04:24.729Z","fetched_at":"2026-10-23T18:48:36.087640Z","product":"ash","vendor":"ash-project","versions":[{"lessThan":"80936187b27ee94f15cd875affd3141b5cb23185","status":"affected","version":"30eaf1c6e8524527b703e3c4bfeff7967ee0b37c","versionType":"git"}],"defaultStatus":"unaffected"},{"source":"GitHub Advisory Database","source_url":"https://github.com/ash-project/ash/security/advisories/GHSA-xj24-8f5c-pp5p","source_modified_at":"2026-10-09T00:31:26Z","fetched_at":"2026-10-23T18:48:36.087640Z","package":{"ecosystem":"erlang","name":"ash"},"range":">= 2.6.0, < 3.34.6"}],"fixed_versions":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-101028","source_modified_at":"2026-10-09T18:04:24.729Z","fetched_at":"2026-10-23T18:48:36.087640Z","package":{"name":"ash","ecosystem":null},"version":"3.34.6","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-101028","source_modified_at":"2026-10-09T18:04:24.729Z","fetched_at":"2026-10-23T18:48:36.087640Z","package":{"name":"ash","ecosystem":null},"version":"80936187b27ee94f15cd875affd3141b5cb23185","basis":"first unaffected version stated in the CVE record"},{"source":"GitHub Advisory Database","source_url":"https://github.com/ash-project/ash/security/advisories/GHSA-xj24-8f5c-pp5p","source_modified_at":"2026-10-09T00:31:26Z","fetched_at":"2026-10-23T18:48:36.087640Z","package":{"ecosystem":"erlang","name":"ash"},"version":"3.34.6"}],"cvss":6,"severity":"Medium","kev":{"listed":false},"epss":{"probability":0.00269,"percentile":0.18036,"score_date":"2026-10-23"},"published_at":"2026-10-09T07:01:06.470Z","modified_at":"2026-10-09T18:04:24.729Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-101028","fetched_at":"2026-10-23T18:48:36.087640Z","source_modified_at":"2026-10-09T18:04:24.729Z"},{"source":"GitHub Advisory Database","url":"https://github.com/ash-project/ash/security/advisories/GHSA-xj24-8f5c-pp5p","fetched_at":"2026-10-23T18:48:36.087640Z","source_modified_at":"2026-10-09T00:31:26Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-101028","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","GitHub Advisory Database","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/ash-project/ash/security/advisories/GHSA-xj24-8f5c-pp5p","tags":["exploit"]},{"source":"CVE List","url":"https://cna.erlef.org/cves/CVE-2026-101028.html","tags":["related"]},{"source":"CVE List","url":"https://osv.dev/vulnerability/EEF-CVE-2026-101028","tags":["related"]},{"source":"CVE List","url":"https://github.com/ash-project/ash/commit/30eaf1c6e8524527b703e3c4bfeff7967ee0b37c","tags":["related"]},{"source":"CVE List","url":"https://github.com/ash-project/ash/commit/80936187b27ee94f15cd875affd3141b5cb23185","tags":["patch"]}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial","assessed_at":"2026-10-09T18:03:54.666261Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":null,"confidence":"unknown","reviewed":false},"change_timestamp":"2026-10-09T18:04:24.729Z","content_hash":"a15277e10ce69e2e300e36f51427a6db20518e54e3721a369e7be94128d367dd"}}
