Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
Cross-tenant subscription disclosure in AshGraphql authorizes notifications in memory without a tenant-scoped read
Vulnerability Description
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.
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Vulnerability Type
授权机制不正确
Vulnerability Title
Ash Framework AshGraphql 授权问题漏洞
Vulnerability Description
Ash Framework AshGraphql是Ash Framework组织的一个提供GraphQL接口的开发框架。 Ash Framework AshGraphql 1.4.0版本至1.11.0之前版本存在授权问题漏洞,该漏洞源于订阅解析器在内存中授权通知负载时未包含租户条件,可能导致经过身份验证的订阅者接收其他租户的记录。
CVSS Information
N/A
Vulnerability Type
N/A