All vulnerabilities

Hex

CVE-2026-115627

AshPostgres ignores attribute multitenancy on the join resource when loading many_to_many and through relationships, returning records related through other tenants' rows

Severity
Medium 6.0
Published
25 Oct 2026
Last changed
19 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
2.15.2
Exploit chance
0.2% in the next 30 daysHigher than 15% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Incorrect authorization (CWE-863)
Attack
Over the network · Only under certain conditions · Needs a user account · No user action needed
Attacker can
Read data
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Sources
CVE Program

Description

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.

From the CVE Program.

Affected software

SoftwareAffected versions
ash_postgresHex · osv:Hex:ash_postgres
  • From 0.38.0 before 2.15.2

About ash_postgres

Vulnerabilities in ash_postgres

In our list
2
Published in the last 12 months
2
Critical, last 12 months
0
High, last 12 months
0
Known exploited
0
Search the list for ash_postgres

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-115627