{"id":"CVE-2026-115635","aliases":["CVE-2026-115635","EEF-CVE-2026-115635","GHSA-36hg-wwp2-fg8w"],"related":[],"kind":"vulnerability","state":"published","title":"AshPostgres returns another tenant's record for a skipped upsert when return_skipped_upsert? is set","summary":"Incorrect Authorization vulnerability in ash-project ash_postgres allows a user to read another tenant's record through a skipped upsert.\n\nWhen 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.\n\nThis issue affects ash_postgres: from 2.6.22 before 2.15.2.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Incorrect Authorization vulnerability in ash-project ash_postgres allows a user to read another tenant's record through a skipped upsert.\n\nWhen 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.\n\nThis issue affects ash_postgres: from 2.6.22 before 2.15.2.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nIncorrect Authorization vulnerability in ash-project ash_postgres allows a user to read another tenant's record through a skipped upsert.\n\nWhen `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.\n\nThis issue affects ash_postgres: from 2.6.22 before 2.15.2.\n\n## Impact\n\nA user of one tenant whose upsert is skipped receives another tenant's record with the same identity values.\n\n## Configurations\n\nReachable when a resource uses attribute multitenancy, an action performs upserts with `return_skipped_upsert?: true`, and a caller can supply identity values that another tenant also uses.","format":"markdown","source":"eef"}],"published":"2026-10-25T19:48:43.829Z","modified":"2026-11-25T06:30:04.683Z","severity":{"scorer":"EEF","scheme":"CVSS:4.0","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","score":6,"rating":"MEDIUM"},"severities":[{"scorer":"EEF","scheme":"CVSS:4.0","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","score":6,"rating":"MEDIUM"},{"scorer":"Erlang Ecosystem Foundation","scheme":"CVSS:4.0","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"}],"cwes":["CWE-863"],"affected":[{"ranges":[{"type":"semver","introduced":"2.6.22","fixed":"2.15.2","status":"affected"}],"vendor":"ash-project","product":"ash_postgres","package":"ash_postgres","cpe":"cpe:2.3:a:ash-project:ash_postgres:*:*:*:*:*:*:*:*","repo":"https://github.com/ash-project/ash_postgres","source":"cvelist"},{"ranges":[{"type":"git","introduced":"af0903f1380468bbe1b61fe65acb33772b5e24a5","fixed":"8aa81220c401cae412d21078d11b3519ea25d3a9","status":"affected"}],"vendor":"ash-project","product":"ash_postgres","package":"ash-project/ash_postgres","cpe":"cpe:2.3:a:ash-project:ash_postgres:*:*:*:*:*:*:*:*","repo":"https://github.com/ash-project/ash_postgres","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.6.22","status":"affected","fixed":"2.15.2"}],"ecosystem":"Hex","package":"ash_postgres","purl":"pkg:hex/ash_postgres","source":"eef"},{"ranges":[{"type":"git","introduced":"af0903f1380468bbe1b61fe65acb33772b5e24a5","status":"affected","fixed":"8aa81220c401cae412d21078d11b3519ea25d3a9"}],"repo":"https://github.com/ash-project/ash_postgres","source":"eef"}],"references":[{"url":"https://github.com/ash-project/ash/security/advisories/GHSA-36hg-wwp2-fg8w","tags":["advisory","related","vendor-advisory"],"sources":["cvelist","eef","nvd"]},{"url":"https://cna.erlef.org/cves/CVE-2026-115635.html","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-115635","tags":["related"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ash-project/ash_postgres/commit/af0903f1380468bbe1b61fe65acb33772b5e24a5","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/ash-project/ash_postgres/commit/8aa81220c401cae412d21078d11b3519ea25d3a9","tags":["fix","patch"],"sources":["cvelist","eef","nvd"]},{"url":"https://hex.pm/packages/ash_postgres","tags":["package"],"sources":["eef"]}],"credits":["Will Townsend","Zach Daniel / Ash Project"],"assigner":"EEF","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-10-26T14:29:19.217Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-115635","url":"https://www.cve.org/CVERecord?id=CVE-2026-115635","licence":"CVE Terms of Use","modified":"2026-11-19T08:10:45.173Z"},{"source":"eef","name":"Erlang Ecosystem Foundation","id":"EEF-CVE-2026-115635","url":"https://osv.dev/vulnerability/EEF-CVE-2026-115635","licence":"CC-BY-4.0","modified":"2026-11-25T06:30:04.683Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-115635","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-115635","licence":"Public domain","modified":"2026-10-26T15:16:39.303Z"}],"updatedAt":"2026-11-25T22:59:47.076Z","epss":{"score":0.00332,"percentile":0.28465,"date":"2026-12-01T12:00:22.000Z"}}