{"id":"EEF-CVE-2026-81643","summary":"Broken access control in AshGraphql subscription batcher applies authorization suppression to only the first notification","details":"## Summary\n\nIncorrect Authorization vulnerability in ash-project ash_graphql delivers GraphQL subscription payloads for records a subscriber is not authorized to see.\n\nIn `AshGraphql.Subscription.Batcher`, `do_send/5` resolves the first notification of a batch and filters it with `should_send?/1`, which drops results whose errors are coded `forbidden` or `not_found` or carry no code, precisely so that unauthorized results are not disclosed. The remaining notifications in the batch are read from the process dictionary, re-run through the pipeline, and appended to the outgoing results without that filter. They reach `pubsub.publish_subscription/2`, and the `not is_nil(record)` guard drops only nil records, not error-carrying results. Any two qualifying notifications arriving within the default one-second batch interval suffice, and batching is the default path. The fix applies `should_send?/1` to the whole batch.\n\nThis issue affects ash_graphql: from 1.4.0 before 1.11.0.\n\n## Configurations\n\nThe application exposes `ash_graphql` subscriptions with Ash authorization enabled, and two or more notifications are batched together within the batch interval (the default path).","aliases":["CVE-2026-81643","GHSA-j684-hch4-q888"],"modified":"2026-09-08T20:30:03.502519887Z","published":"2026-08-30T18:20:35.564Z","database_specific":{"capec_ids":["CAPEC-1"],"cpe_ids":["cpe:2.3:a:ash-project:ash_graphql:*:*:*:*:*:*:*:*"],"cwe_ids":["CWE-863"]},"references":[{"type":"ADVISORY","url":"https://github.com/ash-project/ash_graphql/security/advisories/GHSA-j684-hch4-q888"},{"type":"WEB","url":"https://cna.erlef.org/cves/CVE-2026-81643.html"},{"type":"FIX","url":"https://github.com/ash-project/ash_graphql/commit/e8e67f39add2ce0771e6db5f086afe68ba212c57"},{"type":"PACKAGE","url":"https://hex.pm/packages/ash_graphql"}],"affected":[{"package":{"name":"ash_graphql","ecosystem":"Hex","purl":"pkg:hex/ash_graphql"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.4.0"},{"fixed":"1.11.0"}]}],"versions":["1.10.0","1.10.1","1.4.0","1.4.1","1.4.2","1.4.3","1.4.4","1.4.5","1.4.6","1.4.7","1.5.0","1.5.1","1.6.0","1.7.0","1.7.1","1.7.10","1.7.11","1.7.12","1.7.13","1.7.14","1.7.15","1.7.16","1.7.17","1.7.2","1.7.3","1.7.4","1.7.5","1.7.6","1.7.7","1.7.8","1.7.9","1.8.0","1.8.1","1.8.2","1.8.3","1.8.4","1.8.5","1.9.0","1.9.1","1.9.2","1.9.3","1.9.4"],"database_specific":{"source":"https://cna.erlef.org/osv/EEF-CVE-2026-81643.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/ash-project/ash_graphql","events":[{"introduced":"3cb2c9870d050c7c4bba6c211aaed97d732f7e81"},{"fixed":"e8e67f39add2ce0771e6db5f086afe68ba212c57"}]}],"versions":["v1.10.1","v1.10.0","v1.9.4","v1.9.3","v1.9.2","v1.9.1","v1.9.0","v1.8.5","v1.8.4","v1.8.3","v1.8.2","v1.8.1","v1.8.0","v1.7.17","v1.7.16","v1.7.15","v1.7.14","v1.7.13","v1.7.12","v1.7.11","v1.7.10","v1.7.9","v1.7.8","v1.7.7","v1.7.6","v1.7.5","v1.7.4","v1.7.3","v1.7.2","v1.7.1","v1.7.0","v1.6.0","v1.5.1","v1.5.0","v1.4.7","v1.4.6","v1.4.4","v1.4.3","v1.4.2","v1.4.1","v1.4.0"],"database_specific":{"source":"https://cna.erlef.org/osv/EEF-CVE-2026-81643.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"}],"credits":[{"name":"Peter Ullrich","type":"FINDER"},{"name":"Peter Ullrich","type":"REPORTER"},{"name":"Zach Daniel / Ash Project","type":"REMEDIATION_DEVELOPER"},{"name":"Jonatan Männchen / EEF","type":"COORDINATOR"}]}