CVE-2026-96581
published high CVSS 4.0 · 7.6An upsert on the primary key in Ash ignores attribute multitenancy, so one tenant can read, overwrite and take over another tenant's records
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ash-project | — | ash1.22.0 to < 3.37.2 · Other versions: unaffected | Affected | Not stated | EEF |
| ash-project | — | ash-project/ashash · 2333d01ddf37e5909769a513059b27e3183331c5 to < c9f0cdb31e7c084def05f3f5be69dd7bb7721754 · Other versions: unaffected | Affected | Not stated | EEF |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.6 / 10
- Severity
- high
- Provider
- EEF · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ash-project | ash | 1.22.0 to < 3.37.2 (affected · semver)Default: unaffected | EEF · cna |
| ash-project | ash | 2333d01ddf37e5909769a513059b27e3183331c5 to < c9f0cdb31e7c084def05f3f5be69dd7bb7721754 (affected · git)Default: unaffected | EEF · cna |
Weaknesses
1- CWE-639 CWE-639 Authorization Bypass Through User-Controlled Key
References
5- EEF CNA record for CVE-2026-96581 https://cna.erlef.org/cves/CVE-2026-96581.html
- Introducing commit 2333d01 in ash-project/ash https://github.com/ash-project/ash/commit/2333d01ddf37e5909769a513059b27e3183331c5
- Fix commit c9f0cdb in ash-project/ash https://github.com/ash-project/ash/commit/c9f0cdb31e7c084def05f3f5be69dd7bb7721754
- An upsert on the primary key in Ash ignores attribute multitenancy, so one tenant can read, overwrite and take over another tenant's records https://github.com/ash-project/ash/security/advisories/GHSA-vw7c-67pf-gh96
- OSV record EEF-CVE-2026-96581 https://osv.dev/vulnerability/EEF-CVE-2026-96581
Provider assertions
2EEF · cna
An upsert on the primary key in Ash ignores attribute multitenancy, so one tenant can read, overwrite and take over another tenant's records
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 56da031e9cb7874fd8a53068727a888ce7bb0e45f52f45259043460c4957a838
- Ingested
- 19 Nov 2026, 08:22:50 UTC
- Source record
- Official CVE record