{"id":"CVE-2026-101028","revision":null,"records":[{"revision":"e7b853e6dacd46f081e32eaa99d81ab6","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-101028","aliases":[],"title":"Ash.count, Ash.exists and Ash.aggregate skip related resources' read policies in filters and sorts","description":"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.","state":0,"publishedAt":"2026-10-09T07:01:06.47+00:00","modifiedAt":"2026-10-09T18:04:24.729+00:00","affected":[{"ecosystem":"https://repo.hex.pm","name":"ash","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"collectionURL\": \"https://repo.hex.pm\",\n                    \"cpes\": [\n                        \"cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*\"\n                    ],\n                    \"defaultStatus\": \"unaffected\",\n                    \"modules\": [\n                        \"'Elixir.Ash.Actions.Aggregate'\",\n                        \"'Elixir.Ash'\"\n                    ],\n                    \"packageName\": \"ash\",\n                    \"packageURL\": \"pkg:hex/ash\",\n                    \"product\": \"ash\",\n                    \"programFiles\": [\n                        \"lib/ash/actions/aggregate.ex\",\n                        \"lib/ash.ex\"\n                    ],\n                    \"programRoutines\": [\n                        {\n                            \"name\": \"'Elixir.Ash.Actions.Aggregate':run/4\"\n                        },\n                        {\n                            \"name\": \"'Elixir.Ash':count/2\"\n                        },\n                        {\n                            \"name\": \"'Elixir.Ash':exists/2\"\n                        },\n                        {\n                            \"name\": \"'Elixir.Ash':aggregate/3\"\n                        }\n                    ],\n                    \"repo\": \"https://github.com/ash-project/ash\",\n                    \"vendor\": \"ash-project\",\n                    \"versions\": [\n                        {\n                            \"lessThan\": \"3.34.6\",\n                            \"status\": \"affected\",\n                            \"version\": \"2.6.0\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"},{"ecosystem":"https://github.com","name":"ash-project/ash","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"collectionURL\": \"https://github.com\",\n                    \"cpes\": [\n                        \"cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*\"\n                    ],\n                    \"defaultStatus\": \"unaffected\",\n                    \"modules\": [\n                        \"'Elixir.Ash.Actions.Aggregate'\",\n                        \"'Elixir.Ash'\"\n                    ],\n                    \"packageName\": \"ash-project/ash\",\n                    \"packageURL\": \"pkg:github/ash-project/ash\",\n                    \"product\": \"ash\",\n                    \"programFiles\": [\n                        \"lib/ash/actions/aggregate.ex\",\n                        \"lib/ash.ex\"\n                    ],\n                    \"programRoutines\": [\n                        {\n                            \"name\": \"'Elixir.Ash.Actions.Aggregate':run/4\"\n                        },\n                        {\n                            \"name\": \"'Elixir.Ash':count/2\"\n                        },\n                        {\n                            \"name\": \"'Elixir.Ash':exists/2\"\n                        },\n                        {\n                            \"name\": \"'Elixir.Ash':aggregate/3\"\n                        }\n                    ],\n                    \"repo\": \"https://github.com/ash-project/ash\",\n                    \"vendor\": \"ash-project\",\n                    \"versions\": [\n                        {\n                            \"lessThan\": \"80936187b27ee94f15cd875affd3141b5cb23185\",\n                            \"status\": \"affected\",\n                            \"version\": \"30eaf1c6e8524527b703e3c4bfeff7967ee0b37c\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"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","score":6,"severity":"MEDIUM"}],"references":["https://github.com/ash-project/ash/security/advisories/GHSA-xj24-8f5c-pp5p","https://cna.erlef.org/cves/CVE-2026-101028.html","https://osv.dev/vulnerability/EEF-CVE-2026-101028","https://github.com/ash-project/ash/commit/30eaf1c6e8524527b703e3c4bfeff7967ee0b37c","https://github.com/ash-project/ash/commit/80936187b27ee94f15cd875affd3141b5cb23185"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-101028","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-101028","identifiers":["CVE-2026-101028"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-10T13:22:12.0568802+00:00","complete":true,"records":1773,"lastAttemptAt":"2026-11-10T13:22:12.0568802+00:00","lastSuccessAt":"2026-11-10T13:22:12.2181268+00:00","error":null,"lastVerifiedAt":"2026-11-10T13:22:12.2181281+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-8859cf40d4337e24bd2f258cc7778fbad01bb24c79d057aaf34cf1dfc6f8917d-3ef8dba92b2d2d637ad17f1bb87302a2f80b86f45060fed26f9ba87e9b3f1461","complete":true,"records":421961,"lastAttemptAt":"2026-11-10T13:21:47.7020436+00:00","lastSuccessAt":"2026-11-10T13:21:47.6260236+00:00","error":null,"lastVerifiedAt":"2026-11-10T13:21:47.7020436+00:00","snapshotPublishedAt":"2026-11-10T12:29:59+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-efc28183efe04e138ba7d91d47b051d0","complete":true,"records":13691,"lastAttemptAt":"2026-11-10T13:22:39.8838724+00:00","lastSuccessAt":"2026-11-10T13:22:39.879+00:00","error":null,"lastVerifiedAt":"2026-11-10T13:22:39.879+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13744,"expectedIdentifiers":13744,"failedIdentifiers":0},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-10T13:22:12.0568802+00:00","complete":true,"records":1096,"lastAttemptAt":"2026-11-10T13:22:12.0568802+00:00","lastSuccessAt":"2026-11-10T13:22:12.2192335+00:00","error":null,"lastVerifiedAt":"2026-11-10T13:22:12.219234+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-fce56865ab584da18fe65ffedaec05f5","complete":false,"records":13697,"lastAttemptAt":"2026-11-10T13:22:38.4294414+00:00","lastSuccessAt":"2026-11-10T13:22:38.423+00:00","error":"100 identifier lookups failed; latest failures include request timeout. Other identifiers were checked independently.","lastVerifiedAt":"2026-11-10T13:22:38.423+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13642,"expectedIdentifiers":13744,"failedIdentifiers":100},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-cdffb4589856378aa42e8d1bd4a6c74e27a180d8160bf764c44715ef760f0a62","complete":true,"records":9932,"lastAttemptAt":"2026-11-10T13:21:48.828686+00:00","lastSuccessAt":"2026-11-10T00:04:19.8260565+00:00","error":null,"lastVerifiedAt":"2026-11-10T13:21:48.828686+00:00","snapshotPublishedAt":"2026-11-09T23:48:01+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-26503967ae4379db8f374089589d6e03fb15bd31f820c9e992aaf93840c2236c","complete":true,"records":1971,"lastAttemptAt":"2026-11-10T13:21:48.0645605+00:00","lastSuccessAt":"2026-11-09T21:02:20.472473+00:00","error":null,"lastVerifiedAt":"2026-11-10T13:21:48.0645605+00:00","snapshotPublishedAt":"2026-11-09T20:18:18+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-90debfccd5f97608c3e96ebc37b3b03e91c00adb00e581b0f0dcaea693c0d935","complete":true,"records":3074,"lastAttemptAt":"2026-11-10T13:22:12.0183897+00:00","lastSuccessAt":"2026-11-10T13:22:11.8765745+00:00","error":null,"lastVerifiedAt":"2026-11-10T13:22:12.0183897+00:00","snapshotPublishedAt":"2026-11-10T13:03:15+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-86f40cdda9ca36627f818d0cc8237a8a8c7c22cb687d6747a4ea12bded69e17e","complete":true,"records":231599,"lastAttemptAt":"2026-11-10T13:21:48.3696491+00:00","lastSuccessAt":"2026-11-10T11:25:00.8551311+00:00","error":null,"lastVerifiedAt":"2026-11-10T13:21:48.3696491+00:00","snapshotPublishedAt":"2026-11-10T11:03:07+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}