CVE-2026-115627
Beschrijving NL
Onjuiste kwetsbaarheid voor autorisatie in ash-project ash_postgres stelt een gebruiker in staat om bestemmingsrecords die zijn gekoppeld aan een bronrecord alleen te laden via de join-rijen van een andere huurder. Wanneer een many_to_many-relatie, of een through-relatie, wordt geladen met een laterale join (bijvoorbeeld met een limiet of sortering per record), bouwt AshPostgres.DataLayer de query voor de join-resource en voor elke resource langs een doorgangspad, in lateral_join_query/3 en through_step_queries/4 zonder de leesactie van die resource uit te voeren, waar attribuut multitenancy wordt toegepast. Wanneer die bronnen strategie gebruiken:attribuut multitenancy, werden rijen van andere huurders samengevoegd, zodat de lading geretourneerde bestemming registreert waar de huurder van de beller geen relatie mee heeft. Dit probleem heeft invloed op ash_postgres: van 0.38.0 tot 2.15.2.
Origineel (Engels) tonen
Incorrect Authorization vulnerability in ash-project ash_postgres allows a user to load destination records linked to a source record only through another tenant's join rows.
When a many_to_many relationship, or a through relationship, is loaded with a lateral join (for example with a per-record limit or sort), AshPostgres.DataLayer builds the query for the join resource, and for each resource along a through path, in lateral_join_query/3 and through_step_queries/4 without running that resource's read action, which is where attribute multitenancy is applied. When those resources use strategy :attribute multitenancy, rows belonging to other tenants were joined, so the load returned destination records that the caller's tenant is not related to.
This issue affects ash_postgres: from 0.38.0 before 2.15.2.