# CVE-2026-115635: AshPostgres returns another tenant's record for a skipped upsert when return_skipped_upsert? is set

- 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:48:43.829Z
- Modified: 2026-11-25T06:30:04.683Z
- Also known as: EEF-CVE-2026-115635, GHSA-36hg-wwp2-fg8w
- 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 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.

(As written by CVE List.)

## Affected

- ash_postgres: from 2.6.22 before 2.15.2
- ash-project/ash_postgres: from af0903f1380468bbe1b61fe65acb33772b5e24a5 before 8aa81220c401cae412d21078d11b3519ea25d3a9
- ash_postgres (Hex): from 2.6.22 before 2.15.2
- https://github.com/ash-project/ash_postgres: from af0903f1380468bbe1b61fe65acb33772b5e24a5 before 8aa81220c401cae412d21078d11b3519ea25d3a9

## 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-36hg-wwp2-fg8w> (advisory, related, vendor-advisory)
- <https://cna.erlef.org/cves/CVE-2026-115635.html> (related, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-115635> (related)
- <https://github.com/ash-project/ash_postgres/commit/af0903f1380468bbe1b61fe65acb33772b5e24a5> (related, web)
- <https://github.com/ash-project/ash_postgres/commit/8aa81220c401cae412d21078d11b3519ea25d3a9> (fix, patch)
- <https://hex.pm/packages/ash_postgres> (package)

## Sources

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

---

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