Skip to content
OpenAdvisories
Medium · 6.0 CVE-2026-115635 EEF-CVE-2026-115635EUVD-2026-109568GHSA-36hg-wwp2-fg8w

AshPostgres returns another tenant's record for a skipped upsert when return_skipped_upsert? is set

Published Oct 25, 2026 · Updated Oct 26, 2026 · Assigned by EEF

Description

Incorrect Authorization vulnerability in ash-project ash_postgres allows a user to read another tenant's record through a skipped upsert.

When Ash.bulk_create/4 or a single create runs as an upsert with return_skipped_upsert?: true and the upsert is skipped (for example because its upsert_condition does not hold), AshPostgres.DataLayer reads the existing row back by the upsert identity in do_bulk_create/3 and upsert/4. That lookup did not apply the resource's attribute multitenancy, so on a resource using strategy :attribute it could match and return the row of another tenant with the same identity values, exposing its fields to the caller.

This issue affects ash_postgres: from 2.6.22 before 2.15.2.

Affected products

VendorProductAffectedFixed
ash-project ash_postgres 2.6.22 – < 2.15.2 2.15.2

Affected packages

EcosystemPackageAffectedFixedRecord
Hex ash_postgres >= 2.6.22, < 2.15.2 2.15.2 EEF-CVE-2026-115635

References