High severity · published Oct 26, 2026
CVE-2026-96581
An upsert on the primary key in Ash ignores attribute multitenancy, so one tenant can read, overwrite and take over another tenant's records
New
7.6
CVSS
0.3%
EPSS
No
On KEV
Description
Authorization Bypass Through User-Controlled Key vulnerability in ash-project ash allows a user of one tenant to read, overwrite and take over another tenant's records via an upserting create action.
Under attribute multitenancy, Ash.Actions.Create (lib/ash/actions/create/create.ex) and Ash.Actions.Create.Bulk (lib/ash/actions/create/bulk.ex) upserted on the primary key, or on an all_tenants? identity, without scoping the conflicting record to the request's tenant. A caller of a create action with upsert? true that accepts the primary key, supplying a record id from another tenant, updated that record's upsert fields and received all of its attributes in the result. With the default upsert fields the tenant attribute was written too, moving the record into the caller's tenant. Read and update policies do not run for upserts, and tenant-scoped create policies pass because the tenant is the caller's own.
This issue affects ash: from 1.22.0 before 3.37.2.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 17% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AS
ash · ash-project
1.22.0 before 3.37.2; 2333d01ddf37e5909769a513059b27e3183331c5 before c9f0cdb31e7c084def05f3f5be69dd7bb7721754 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-96581
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-96581
cna.erlef.org
https://cna.erlef.org/cves/CVE-2026-96581.html
github.com
https://github.com/ash-project/ash/commit/2333d01ddf37e5909769a513059b27e3183331c5
github.com
https://github.com/ash-project/ash/commit/c9f0cdb31e7c084def05f3f5be69dd7bb7721754
github.com
https://github.com/ash-project/ash/security/advisories/GHSA-vw7c-67pf-gh96
osv.dev
https://osv.dev/vulnerability/EEF-CVE-2026-96581
More from ash
8.6
CVE-2025-48044
Authorization bypass when bypass policy condition evaluates to true
8.6
CVE-2025-48043
Bypass and runtime policies that can never pass may be incorrectly applied in filter authorization
8.2
CVE-2026-94201
Filtering an :atom attribute with unsafe_to_atom? can exhaust the BEAM atom table in Ash
7.5
CVE-2026-34593
Ash Framework: Ash.Type.Module.cast_input/2 atom exhaustion via unchecked Module.concat allows BEAM VM crash
7.4
CVE-2026-67579
Filter expression injection via forged keyset pagination cursor in Ash
