CVE-2026-80223
Beschrijving NL
Onjuiste autorisatiekwetsbaarheid in ash-project ash_graphql stelt een geverifieerde abonnee in een tenant in staat om de records van een andere tenant te ontvangen via GraphQL-abonnementen. De abonnementsresolver in AshGraphql.Graphql.Resolver autoriseert elke notificatie-payload in het geheugen: het snelle pad roept Ash.can/3 aan met run_queries?: false, dat het leesbeleidsfilter evalueert tegen het in-memory-record via Ash.Expr.eval/2 en nooit een zoekopdracht geeft. Ash past multitenancy toe op query-build en data-layer-prefix-tijd, niet binnen query.filter, dus het geëvalueerde beleid heeft geen tenantconditie en een tenant-B-melding die wordt doorgestuurd naar een tenant-A-abonnee wordt uitgezonden wanneer het beleidsfilter waar is. De single-notification clausule heeft helemaal geen huurderbeveiliging en de gegroepeerde clausule controleert alleen het hoofd van de notificatielijst, dus niet-hoofdvermeldingen autoriseren puur in het geheugen. Een tenant-scoped read wordt alleen bereikt wanneer de filterevaluatie mislukt. Dit probleem heeft invloed op ash_graphql: van 1.4.0 voor 1.11.0.
Origineel (Engels) tonen
Incorrect Authorization vulnerability in ash-project ash_graphql allows an authenticated subscriber in one tenant to receive another tenant's records over GraphQL subscriptions.
The subscription resolver in AshGraphql.Graphql.Resolver authorizes each notification payload in memory: its fast path calls Ash.can/3 with run_queries?: false, which evaluates the read policy filter against the in-memory record via Ash.Expr.eval/2 and never issues a query. Ash applies multitenancy at query-build and data-layer-prefix time, not inside query.filter, so the evaluated policy carries no tenant condition and a tenant-B notification routed to a tenant-A subscriber is emitted whenever the policy filter is true. The single-notification clause has no tenant guard at all, and the batched clause checks only the head of the notification list, so non-head entries authorize purely in memory. A tenant-scoped read is reached only when filter evaluation fails.
This issue affects ash_graphql: from 1.4.0 before 1.11.0.