# 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 (CVSS:4.0, scored by EEF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 28% of CVEs (2026-12-01)
- Published: 2026-10-25T19:49:50.510Z
- Modified: 2026-11-25T06:30:16.884Z
- Also known as: EEF-CVE-2026-115627, GHSA-gr2r-f49c-9gm2
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: EEF

## 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.

(As written by CVE List.)

## Affected

- ash_postgres: from 0.38.0 before 2.15.2
- ash-project/ash_postgres: from 7115bec58678f13b1ac2fb4822a0ba1aea9dbec5 before 8c25c945c39a45299193fe70b09fc2fa2aacac7b
- ash_postgres (Hex): from 0.38.0 before 2.15.2
- https://github.com/ash-project/ash_postgres: from 7115bec58678f13b1ac2fb4822a0ba1aea9dbec5 before 8c25c945c39a45299193fe70b09fc2fa2aacac7b

## Every score

- EEF: CVSS:4.0 6.0 Medium `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`
- Erlang Ecosystem Foundation: CVSS:4.0 `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`

## References

- <https://github.com/ash-project/ash/security/advisories/GHSA-gr2r-f49c-9gm2> (advisory, related, vendor-advisory)
- <https://cna.erlef.org/cves/CVE-2026-115627.html> (related, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-115627> (related)
- <https://github.com/ash-project/ash_postgres/commit/7115bec58678f13b1ac2fb4822a0ba1aea9dbec5> (related, web)
- <https://github.com/ash-project/ash_postgres/commit/8c25c945c39a45299193fe70b09fc2fa2aacac7b> (fix, patch)
- <https://hex.pm/packages/ash_postgres> (package)

## Sources

- CVE List: [CVE-2026-115627](https://www.cve.org/CVERecord?id=CVE-2026-115627), CVE Terms of Use, modified 2026-11-19
- Erlang Ecosystem Foundation: [EEF-CVE-2026-115627](https://osv.dev/vulnerability/EEF-CVE-2026-115627), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2026-115627](https://nvd.nist.gov/vuln/detail/CVE-2026-115627), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-115627 · Whole record: https://cve.day/CVE-2026-115627.json · Rebuilt by cve.day 2026-11-25T22:59:47.076Z
