Technical impact
A bug in the ash library causes a through relationship that is limited to one record to ignore the through path and return arbitrary destination records. This results in an authorization flaw that lets an authenticated client read records that should be inaccessible when accessed through the destination relationship. The flaw can be exploited to enumerate valid destination records via normal API calls, potentially leaking sensitive data.
Affected Systems
The vulnerability affects the open‑source Ash framework from version 3.24.0 up to but not including 3.37.1. Systems using these Ash releases, particularly those exposing relationships through GraphQL or similar APIs, are at risk.
Risk and Exploitability
With a CVSS score of 6, the vulnerability is considered moderate severity. The EPSS score is < 1%, and the flaw is not currently listed in the CISA KEV catalog. Exploitation requires legitimate authentication and the ability to issue a query that loads a through relationship with a limit of one. An attacker can then enumerate destination records that policies permit when accessed through the relationship, but only after the initial leak of the first record. The lack of explicit restrictions on the relationship load path makes the flaw straightforward to trigger for any user with privilege to read the source entity.