{"id":"CVE-2026-81643","state":"PUBLISHED","title":"Broken access control in AshGraphql subscription batcher applies authorization suppression to only the first notification","description":"Incorrect 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.","publishedAt":"2026-08-30T18:20:35.564Z","updatedAt":"2026-08-31T15:01:05.884Z","severity":{"score":2.3,"label":"Low","version":"4.0","vector":"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","source":"EEF"},"assigner":"EEF","products":["ash-project ash_graphql"],"affected":[{"vendor":"ash-project","product":"ash_graphql","packageName":"ash_graphql","packageURL":"pkg:hex/ash_graphql","defaultStatus":"unaffected","versions":[{"version":"1.4.0","status":"affected","lessThan":"1.11.0","versionType":"semver"}],"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:ash-project:ash_graphql:*:*:*:*:*:*:*:*"],"modules":["'Elixir.AshGraphql.Subscription.Batcher'"],"programFiles":["lib/subscription/batcher.ex"],"programRoutines":[{"name":"'Elixir.AshGraphql.Subscription.Batcher':do_send/5"}],"repo":"https://github.com/ash-project/ash_graphql"},{"vendor":"ash-project","product":"ash_graphql","packageName":"ash-project/ash_graphql","packageURL":"pkg:github/ash-project/ash_graphql","defaultStatus":"unaffected","versions":[{"version":"3cb2c9870d050c7c4bba6c211aaed97d732f7e81","status":"affected","lessThan":"e8e67f39add2ce0771e6db5f086afe68ba212c57","versionType":"git"}],"collectionURL":"https://github.com","cpes":["cpe:2.3:a:ash-project:ash_graphql:*:*:*:*:*:*:*:*"],"modules":["'Elixir.AshGraphql.Subscription.Batcher'"],"programFiles":["lib/subscription/batcher.ex"],"programRoutines":[{"name":"'Elixir.AshGraphql.Subscription.Batcher':do_send/5"}],"repo":"https://github.com/ash-project/ash_graphql"}],"references":["https://github.com/ash-project/ash_graphql/security/advisories/GHSA-j684-hch4-q888","https://cna.erlef.org/cves/CVE-2026-81643.html","https://osv.dev/vulnerability/EEF-CVE-2026-81643","https://github.com/ash-project/ash_graphql/commit/e8e67f39add2ce0771e6db5f086afe68ba212c57"],"weaknesses":["CWE-863"],"ingestedAt":"2026-10-29T20:13:15.269Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/81xxx/CVE-2026-81643.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-81643","state":"PUBLISHED","datePublished":"2026-08-30T18:20:35.564Z","dateUpdated":"2026-08-31T15:01:05.884Z","assignerShortName":"EEF","assignerOrgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","dateReserved":"2026-08-30T04:45:01.564Z"},"containers":{"cna":{"title":"Broken access control in AshGraphql subscription batcher applies authorization suppression to only the first notification","descriptions":[{"lang":"en","value":"Incorrect 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."}],"affected":[{"vendor":"ash-project","product":"ash_graphql","packageName":"ash_graphql","packageURL":"pkg:hex/ash_graphql","defaultStatus":"unaffected","versions":[{"version":"1.4.0","status":"affected","lessThan":"1.11.0","versionType":"semver"}],"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:ash-project:ash_graphql:*:*:*:*:*:*:*:*"],"modules":["'Elixir.AshGraphql.Subscription.Batcher'"],"programFiles":["lib/subscription/batcher.ex"],"programRoutines":[{"name":"'Elixir.AshGraphql.Subscription.Batcher':do_send/5"}],"repo":"https://github.com/ash-project/ash_graphql"},{"vendor":"ash-project","product":"ash_graphql","packageName":"ash-project/ash_graphql","packageURL":"pkg:github/ash-project/ash_graphql","defaultStatus":"unaffected","versions":[{"version":"3cb2c9870d050c7c4bba6c211aaed97d732f7e81","status":"affected","lessThan":"e8e67f39add2ce0771e6db5f086afe68ba212c57","versionType":"git"}],"collectionURL":"https://github.com","cpes":["cpe:2.3:a:ash-project:ash_graphql:*:*:*:*:*:*:*:*"],"modules":["'Elixir.AshGraphql.Subscription.Batcher'"],"programFiles":["lib/subscription/batcher.ex"],"programRoutines":[{"name":"'Elixir.AshGraphql.Subscription.Batcher':do_send/5"}],"repo":"https://github.com/ash-project/ash_graphql"}],"references":[{"url":"https://github.com/ash-project/ash_graphql/security/advisories/GHSA-j684-hch4-q888","tags":["vendor-advisory","related"]},{"url":"https://cna.erlef.org/cves/CVE-2026-81643.html","tags":["related"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-81643","tags":["related"]},{"url":"https://github.com/ash-project/ash_graphql/commit/e8e67f39add2ce0771e6db5f086afe68ba212c57","tags":["patch"]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":2.3,"baseSeverity":"LOW","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-863","description":"CWE-863 Incorrect Authorization","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"EEF","orgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","dateUpdated":"2026-08-30T18:20:35.564Z"},"configurations":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>The application exposes <code>ash_graphql</code> subscriptions with Ash authorization enabled, and two or more notifications are batched together within the batch interval (the default path).</p>"},{"base64":false,"type":"text/markdown","value":"The application exposes `ash_graphql` subscriptions with Ash authorization enabled, and two or more notifications are batched together within the batch interval (the default path)."}],"value":"The application exposes ash_graphql subscriptions with Ash authorization enabled, and two or more notifications are batched together within the batch interval (the default path)."}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:ash-project:ash_graphql:*:*:*:*:*:*:*:*","versionEndExcluding":"1.11.0","versionStartIncluding":"1.4.0","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"AND"}],"credits":[{"lang":"en","type":"finder","value":"Peter Ullrich"},{"lang":"en","type":"reporter","value":"Peter Ullrich"},{"lang":"en","type":"remediation developer","value":"Zach Daniel / Ash Project"},{"lang":"en","type":"coordinator","value":"Jonatan Männchen / EEF"}],"impacts":[{"capecId":"CAPEC-1","descriptions":[{"lang":"en","value":"CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs"}]}],"source":{"discovery":"EXTERNAL"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/ash-project/ash_graphql/security/advisories/GHSA-j684-hch4-q888","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-31T15:00:43.822398Z","id":"CVE-2026-81643","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-31T15:01:05.884Z"}}]}}}