{"schema":"threatline.record/2","record":{"id":"CVE-2026-115627","aliases":["GHSA-gr2r-f49c-9gm2"],"summary":"AshPostgres ignores attribute multitenancy on the join resource when loading many_to_many and through relationships, returning records related through other tenants' rows","details":"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.\n\nWhen 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.\n\nThis issue affects ash_postgres: from 0.38.0 before 2.15.2.","categories":["Unclassified"],"product":"ash_postgres","vendor":"ash-project","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-115627","source_modified_at":"2026-10-25T19:49:50.510Z","fetched_at":"2026-10-25T21:40:15.971031Z","product":"ash_postgres","vendor":"ash-project","versions":[{"lessThan":"2.15.2","status":"affected","version":"0.38.0","versionType":"semver"}],"defaultStatus":"unaffected"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-115627","source_modified_at":"2026-10-25T19:49:50.510Z","fetched_at":"2026-10-25T21:40:15.971031Z","product":"ash_postgres","vendor":"ash-project","versions":[{"lessThan":"8c25c945c39a45299193fe70b09fc2fa2aacac7b","status":"affected","version":"7115bec58678f13b1ac2fb4822a0ba1aea9dbec5","versionType":"git"}],"defaultStatus":"unaffected"}],"fixed_versions":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-115627","source_modified_at":"2026-10-25T19:49:50.510Z","fetched_at":"2026-10-25T21:40:15.971031Z","package":{"name":"ash_postgres","ecosystem":null},"version":"2.15.2","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-115627","source_modified_at":"2026-10-25T19:49:50.510Z","fetched_at":"2026-10-25T21:40:15.971031Z","package":{"name":"ash_postgres","ecosystem":null},"version":"8c25c945c39a45299193fe70b09fc2fa2aacac7b","basis":"first unaffected version stated in the CVE record"}],"cvss":6,"severity":"Medium","kev":{"listed":false},"epss":{"probability":null,"percentile":null,"score_date":null},"published_at":"2026-10-25T19:49:50.510Z","modified_at":"2026-10-25T19:49:50.510Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-115627","fetched_at":"2026-10-25T21:40:15.971031Z","source_modified_at":"2026-10-25T19:49:50.510Z"}],"sources":["CVE List"],"references":[{"source":"CVE List","url":"https://github.com/ash-project/ash/security/advisories/GHSA-gr2r-f49c-9gm2","tags":["vendor-advisory","related"]},{"source":"CVE List","url":"https://cna.erlef.org/cves/CVE-2026-115627.html","tags":["related"]},{"source":"CVE List","url":"https://osv.dev/vulnerability/EEF-CVE-2026-115627","tags":["related"]},{"source":"CVE List","url":"https://github.com/ash-project/ash_postgres/commit/7115bec58678f13b1ac2fb4822a0ba1aea9dbec5","tags":["related"]},{"source":"CVE List","url":"https://github.com/ash-project/ash_postgres/commit/8c25c945c39a45299193fe70b09fc2fa2aacac7b","tags":["patch"]}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":null,"confidence":"unknown","reviewed":false},"change_timestamp":"2026-10-25T19:49:50.510Z","content_hash":"40e14f37f49ae8918e47628b0efeadc657804fc60b241911563c78007cab75b0"}}
