CVE-2026-96581 (GCVE-0-2026-96581)
Vulnerability from cvelistv5
Published
2026-10-26 07:20
Modified
2026-10-26 14:35
Severity ?
VLAI Severity ?
EPSS score ?
CWE
- CWE-639 - Authorization Bypass Through User-Controlled Key
Summary
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.
References
Impacted products
| Vendor | Product | Version | |||||||
|---|---|---|---|---|---|---|---|---|---|
| ash-project | ash |
Version: 1.22.0 ≤ cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:* |
|||||||
|
|||||||||
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-96581",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-10-26T14:25:41.244972Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-10-26T14:35:19.745Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"collectionURL": "https://repo.hex.pm",
"cpes": [
"cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*"
],
"defaultStatus": "unaffected",
"modules": [
"\u0027Elixir.Ash.Actions.Create\u0027",
"\u0027Elixir.Ash.Actions.Create.Bulk\u0027",
"\u0027Elixir.Ash.DataLayer.Ets\u0027",
"\u0027Elixir.Ash.DataLayer.Mnesia\u0027"
],
"packageName": "ash",
"packageURL": "pkg:hex/ash",
"product": "ash",
"programFiles": [
"lib/ash/actions/create/create.ex",
"lib/ash/actions/create/bulk.ex",
"lib/ash/data_layer/ets/ets.ex",
"lib/ash/data_layer/mnesia/mnesia.ex"
],
"programRoutines": [
{
"name": "\u0027Elixir.Ash.Actions.Create\u0027:run/4"
},
{
"name": "\u0027Elixir.Ash.Actions.Create.Bulk\u0027:run/5"
},
{
"name": "\u0027Elixir.Ash.DataLayer.Ets\u0027:upsert/4"
},
{
"name": "\u0027Elixir.Ash.DataLayer.Mnesia\u0027:upsert/4"
}
],
"repo": "https://github.com/ash-project/ash",
"vendor": "ash-project",
"versions": [
{
"lessThan": "3.37.2",
"status": "affected",
"version": "1.22.0",
"versionType": "semver"
}
]
},
{
"collectionURL": "https://github.com",
"cpes": [
"cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*"
],
"defaultStatus": "unaffected",
"modules": [
"\u0027Elixir.Ash.Actions.Create\u0027",
"\u0027Elixir.Ash.Actions.Create.Bulk\u0027",
"\u0027Elixir.Ash.DataLayer.Ets\u0027",
"\u0027Elixir.Ash.DataLayer.Mnesia\u0027"
],
"packageName": "ash-project/ash",
"packageURL": "pkg:github/ash-project/ash",
"product": "ash",
"programFiles": [
"lib/ash/actions/create/create.ex",
"lib/ash/actions/create/bulk.ex",
"lib/ash/data_layer/ets/ets.ex",
"lib/ash/data_layer/mnesia/mnesia.ex"
],
"programRoutines": [
{
"name": "\u0027Elixir.Ash.Actions.Create\u0027:run/4"
},
{
"name": "\u0027Elixir.Ash.Actions.Create.Bulk\u0027:run/5"
},
{
"name": "\u0027Elixir.Ash.DataLayer.Ets\u0027:upsert/4"
},
{
"name": "\u0027Elixir.Ash.DataLayer.Mnesia\u0027:upsert/4"
}
],
"repo": "https://github.com/ash-project/ash",
"vendor": "ash-project",
"versions": [
{
"lessThan": "c9f0cdb31e7c084def05f3f5be69dd7bb7721754",
"status": "affected",
"version": "2333d01ddf37e5909769a513059b27e3183331c5",
"versionType": "git"
}
]
}
],
"configurations": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cp\u003eReachable when a resource uses attribute multitenancy and exposes to callers of one tenant a create action with \u003ccode\u003eupsert? true\u003c/code\u003e that either upserts on the primary key (no \u003ccode\u003eupsert_identity\u003c/code\u003e) and accepts it, or upserts on an \u003ccode\u003eall_tenants?\u003c/code\u003e identity, and the caller knows or can enumerate a key belonging to another tenant (for example a serial integer id, or an id from a shared link or export).\u003c/p\u003e"
},
{
"base64": false,
"type": "text/markdown",
"value": "Reachable when a resource uses attribute multitenancy and exposes to callers of one tenant a create action with `upsert? true` that either upserts on the primary key (no `upsert_identity`) and accepts it, or upserts on an `all_tenants?` identity, and the caller knows or can enumerate a key belonging to another tenant (for example a serial integer id, or an id from a shared link or export)."
}
],
"value": "Reachable when a resource uses attribute multitenancy and exposes to callers of one tenant a create action with upsert? true that either upserts on the primary key (no upsert_identity) and accepts it, or upserts on an all_tenants? identity, and the caller knows or can enumerate a key belonging to another tenant (for example a serial integer id, or an id from a shared link or export)."
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*",
"versionEndExcluding": "3.37.2",
"versionStartIncluding": "1.22.0",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
],
"operator": "AND"
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Will Townsend"
},
{
"lang": "en",
"type": "reporter",
"value": "Will Townsend"
},
{
"lang": "en",
"type": "remediation developer",
"value": "Zach Daniel / Ash Project"
}
],
"dateAssigned": "2026-10-26T05:14:04.000Z",
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cp\u003eAuthorization Bypass Through User-Controlled Key vulnerability in ash-project ash allows a user of one tenant to read, overwrite and take over another tenant\u0027s records via an upserting create action.\u003c/p\u003e\n\u003cp\u003eUnder attribute multitenancy, \u003ccode\u003eAsh.Actions.Create\u003c/code\u003e (\u003ccode\u003elib/ash/actions/create/create.ex\u003c/code\u003e) and \u003ccode\u003eAsh.Actions.Create.Bulk\u003c/code\u003e (\u003ccode\u003elib/ash/actions/create/bulk.ex\u003c/code\u003e) upserted on the primary key, or on an \u003ccode\u003eall_tenants?\u003c/code\u003e identity, without scoping the conflicting record to the request\u0027s tenant. A caller of a create action with \u003ccode\u003eupsert? true\u003c/code\u003e that accepts the primary key, supplying a record id from another tenant, updated that record\u0027s 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\u0027s tenant. Read and update policies do not run for upserts, and tenant-scoped create policies pass because the tenant is the caller\u0027s own.\u003c/p\u003e\n\u003cp\u003eThis issue affects ash: from 1.22.0 before 3.37.2.\u003c/p\u003e"
},
{
"base64": false,
"type": "text/markdown",
"value": "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\u0027s records via an upserting create action.\n\nUnder 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\u0027s 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\u0027s 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\u0027s tenant. Read and update policies do not run for upserts, and tenant-scoped create policies pass because the tenant is the caller\u0027s own.\n\nThis issue affects ash: from 1.22.0 before 3.37.2."
}
],
"value": "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\u0027s records via an upserting create action.\n\nUnder 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\u0027s 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\u0027s 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\u0027s tenant. Read and update policies do not run for upserts, and tenant-scoped create policies pass because the tenant is the caller\u0027s own.\n\nThis issue affects ash: from 1.22.0 before 3.37.2."
}
],
"impacts": [
{
"capecId": "CAPEC-1",
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cp\u003eA signed-in user of one tenant posts another tenant\u0027s record id to an upserting create action, receives that record\u0027s attributes, overwrites its upsert fields, and with the default upsert fields moves it into their own tenant.\u003c/p\u003e"
},
{
"base64": false,
"type": "text/markdown",
"value": "A signed-in user of one tenant posts another tenant\u0027s record id to an upserting create action, receives that record\u0027s attributes, overwrites its upsert fields, and with the default upsert fields moves it into their own tenant."
}
],
"value": "A signed-in user of one tenant posts another tenant\u0027s record id to an upserting create action, receives that record\u0027s attributes, overwrites its upsert fields, and with the default upsert fields moves it into their own tenant."
}
]
}
],
"metrics": [
{
"cvssV4_0": {
"Automatable": "NOT_DEFINED",
"Recovery": "NOT_DEFINED",
"Safety": "NOT_DEFINED",
"attackComplexity": "LOW",
"attackRequirements": "PRESENT",
"attackVector": "NETWORK",
"baseScore": 7.6,
"baseSeverity": "HIGH",
"privilegesRequired": "LOW",
"providerUrgency": "NOT_DEFINED",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"userInteraction": "NONE",
"valueDensity": "NOT_DEFINED",
"vectorString": "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",
"version": "4.0",
"vulnAvailabilityImpact": "NONE",
"vulnConfidentialityImpact": "HIGH",
"vulnIntegrityImpact": "HIGH",
"vulnerabilityResponseEffort": "NOT_DEFINED"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-639",
"description": "CWE-639 Authorization Bypass Through User-Controlled Key",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-10-26T07:20:07.186Z",
"orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"shortName": "EEF"
},
"references": [
{
"name": "An upsert on the primary key in Ash ignores attribute multitenancy, so one tenant can read, overwrite and take over another tenant\u0027s records",
"tags": [
"vendor-advisory",
"related"
],
"url": "https://github.com/ash-project/ash/security/advisories/GHSA-vw7c-67pf-gh96"
},
{
"name": "EEF CNA record for CVE-2026-96581",
"tags": [
"related"
],
"url": "https://cna.erlef.org/cves/CVE-2026-96581.html"
},
{
"name": "OSV record EEF-CVE-2026-96581",
"tags": [
"related"
],
"url": "https://osv.dev/vulnerability/EEF-CVE-2026-96581"
},
{
"name": "Introducing commit 2333d01 in ash-project/ash",
"tags": [
"related"
],
"url": "https://github.com/ash-project/ash/commit/2333d01ddf37e5909769a513059b27e3183331c5"
},
{
"name": "Fix commit c9f0cdb in ash-project/ash",
"tags": [
"patch"
],
"url": "https://github.com/ash-project/ash/commit/c9f0cdb31e7c084def05f3f5be69dd7bb7721754"
}
],
"source": {
"discovery": "EXTERNAL"
},
"title": "An upsert on the primary key in Ash ignores attribute multitenancy, so one tenant can read, overwrite and take over another tenant\u0027s records",
"workarounds": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cp\u003eAdd \u003ccode\u003eupsert_condition expr(\u0026lt;tenant attribute\u0026gt; == ^tenant())\u003c/code\u003e to every create action that upserts on the primary key or on an \u003ccode\u003eall_tenants?\u003c/code\u003e identity, and do not combine it with \u003ccode\u003ereturn_skipped_upsert?\u003c/code\u003e. An upsert into another tenant\u0027s record then fails with \u003ccode\u003eAsh.Error.Changes.StaleRecord\u003c/code\u003e (or is skipped in a bulk create) and leaves that record unchanged. This does not help on the Mnesia data layer, which ignores upsert conditions in affected versions.\u003c/p\u003e"
},
{
"base64": false,
"type": "text/markdown",
"value": "Add `upsert_condition expr(\u003ctenant attribute\u003e == ^tenant())` to every create action that upserts on the primary key or on an `all_tenants?` identity, and do not combine it with `return_skipped_upsert?`. An upsert into another tenant\u0027s record then fails with `Ash.Error.Changes.StaleRecord` (or is skipped in a bulk create) and leaves that record unchanged. This does not help on the Mnesia data layer, which ignores upsert conditions in affected versions."
}
],
"value": "Add upsert_condition expr(\u003ctenant attribute\u003e == ^tenant()) to every create action that upserts on the primary key or on an all_tenants? identity, and do not combine it with return_skipped_upsert?. An upsert into another tenant\u0027s record then fails with Ash.Error.Changes.StaleRecord (or is skipped in a bulk create) and leaves that record unchanged. This does not help on the Mnesia data layer, which ignores upsert conditions in affected versions."
}
]
}
},
"cveMetadata": {
"assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"assignerShortName": "EEF",
"cveId": "CVE-2026-96581",
"datePublished": "2026-10-26T07:20:07.186Z",
"dateReserved": "2026-10-25T17:30:02.206Z",
"dateUpdated": "2026-10-26T14:35:19.745Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"vulnrichment": {
"containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-96581\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-10-26T14:25:41.244972Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-10-26T14:31:23.602Z\"}}], \"cna\": {\"title\": \"An upsert on the primary key in Ash ignores attribute multitenancy, so one tenant can read, overwrite and take over another tenant\u0027s records\", \"source\": {\"discovery\": \"EXTERNAL\"}, \"credits\": [{\"lang\": \"en\", \"type\": \"finder\", \"value\": \"Will Townsend\"}, {\"lang\": \"en\", \"type\": \"reporter\", \"value\": \"Will Townsend\"}, {\"lang\": \"en\", \"type\": \"remediation developer\", \"value\": \"Zach Daniel / Ash Project\"}], \"impacts\": [{\"capecId\": \"CAPEC-1\", \"descriptions\": [{\"lang\": \"en\", \"value\": \"A signed-in user of one tenant posts another tenant\u0027s record id to an upserting create action, receives that record\u0027s attributes, overwrites its upsert fields, and with the default upsert fields moves it into their own tenant.\", \"supportingMedia\": [{\"type\": \"text/html\", \"value\": \"\u003cp\u003eA signed-in user of one tenant posts another tenant\u0027s record id to an upserting create action, receives that record\u0027s attributes, overwrites its upsert fields, and with the default upsert fields moves it into their own tenant.\u003c/p\u003e\", \"base64\": false}, {\"type\": \"text/markdown\", \"value\": \"A signed-in user of one tenant posts another tenant\u0027s record id to an upserting create action, receives that record\u0027s attributes, overwrites its upsert fields, and with the default upsert fields moves it into their own tenant.\", \"base64\": false}]}]}], \"metrics\": [{\"format\": \"CVSS\", \"cvssV4_0\": {\"Safety\": \"NOT_DEFINED\", \"version\": \"4.0\", \"Recovery\": \"NOT_DEFINED\", \"baseScore\": 7.6, \"Automatable\": \"NOT_DEFINED\", \"attackVector\": \"NETWORK\", \"baseSeverity\": \"HIGH\", \"valueDensity\": \"NOT_DEFINED\", \"vectorString\": \"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\", \"providerUrgency\": \"NOT_DEFINED\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"attackRequirements\": \"PRESENT\", \"privilegesRequired\": \"LOW\", \"subIntegrityImpact\": \"NONE\", \"vulnIntegrityImpact\": \"HIGH\", \"subAvailabilityImpact\": \"NONE\", \"vulnAvailabilityImpact\": \"NONE\", \"subConfidentialityImpact\": \"NONE\", \"vulnConfidentialityImpact\": \"HIGH\", \"vulnerabilityResponseEffort\": \"NOT_DEFINED\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"GENERAL\"}]}], \"affected\": [{\"cpes\": [\"cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*\"], \"repo\": \"https://github.com/ash-project/ash\", \"vendor\": \"ash-project\", \"modules\": [\"\u0027Elixir.Ash.Actions.Create\u0027\", \"\u0027Elixir.Ash.Actions.Create.Bulk\u0027\", \"\u0027Elixir.Ash.DataLayer.Ets\u0027\", \"\u0027Elixir.Ash.DataLayer.Mnesia\u0027\"], \"product\": \"ash\", \"versions\": [{\"status\": \"affected\", \"version\": \"1.22.0\", \"lessThan\": \"3.37.2\", \"versionType\": \"semver\"}], \"packageURL\": \"pkg:hex/ash\", \"packageName\": \"ash\", \"programFiles\": [\"lib/ash/actions/create/create.ex\", \"lib/ash/actions/create/bulk.ex\", \"lib/ash/data_layer/ets/ets.ex\", \"lib/ash/data_layer/mnesia/mnesia.ex\"], \"collectionURL\": \"https://repo.hex.pm\", \"defaultStatus\": \"unaffected\", \"programRoutines\": [{\"name\": \"\u0027Elixir.Ash.Actions.Create\u0027:run/4\"}, {\"name\": \"\u0027Elixir.Ash.Actions.Create.Bulk\u0027:run/5\"}, {\"name\": \"\u0027Elixir.Ash.DataLayer.Ets\u0027:upsert/4\"}, {\"name\": \"\u0027Elixir.Ash.DataLayer.Mnesia\u0027:upsert/4\"}]}, {\"cpes\": [\"cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*\"], \"repo\": \"https://github.com/ash-project/ash\", \"vendor\": \"ash-project\", \"modules\": [\"\u0027Elixir.Ash.Actions.Create\u0027\", \"\u0027Elixir.Ash.Actions.Create.Bulk\u0027\", \"\u0027Elixir.Ash.DataLayer.Ets\u0027\", \"\u0027Elixir.Ash.DataLayer.Mnesia\u0027\"], \"product\": \"ash\", \"versions\": [{\"status\": \"affected\", \"version\": \"2333d01ddf37e5909769a513059b27e3183331c5\", \"lessThan\": \"c9f0cdb31e7c084def05f3f5be69dd7bb7721754\", \"versionType\": \"git\"}], \"packageURL\": \"pkg:github/ash-project/ash\", \"packageName\": \"ash-project/ash\", \"programFiles\": [\"lib/ash/actions/create/create.ex\", \"lib/ash/actions/create/bulk.ex\", \"lib/ash/data_layer/ets/ets.ex\", \"lib/ash/data_layer/mnesia/mnesia.ex\"], \"collectionURL\": \"https://github.com\", \"defaultStatus\": \"unaffected\", \"programRoutines\": [{\"name\": \"\u0027Elixir.Ash.Actions.Create\u0027:run/4\"}, {\"name\": \"\u0027Elixir.Ash.Actions.Create.Bulk\u0027:run/5\"}, {\"name\": \"\u0027Elixir.Ash.DataLayer.Ets\u0027:upsert/4\"}, {\"name\": \"\u0027Elixir.Ash.DataLayer.Mnesia\u0027:upsert/4\"}]}], \"references\": [{\"url\": \"https://github.com/ash-project/ash/security/advisories/GHSA-vw7c-67pf-gh96\", \"name\": \"An upsert on the primary key in Ash ignores attribute multitenancy, so one tenant can read, overwrite and take over another tenant\u0027s records\", \"tags\": [\"vendor-advisory\", \"related\"]}, {\"url\": \"https://cna.erlef.org/cves/CVE-2026-96581.html\", \"name\": \"EEF CNA record for CVE-2026-96581\", \"tags\": [\"related\"]}, {\"url\": \"https://osv.dev/vulnerability/EEF-CVE-2026-96581\", \"name\": \"OSV record EEF-CVE-2026-96581\", \"tags\": [\"related\"]}, {\"url\": \"https://github.com/ash-project/ash/commit/2333d01ddf37e5909769a513059b27e3183331c5\", \"name\": \"Introducing commit 2333d01 in ash-project/ash\", \"tags\": [\"related\"]}, {\"url\": \"https://github.com/ash-project/ash/commit/c9f0cdb31e7c084def05f3f5be69dd7bb7721754\", \"name\": \"Fix commit c9f0cdb in ash-project/ash\", \"tags\": [\"patch\"]}], \"workarounds\": [{\"lang\": \"en\", \"value\": \"Add upsert_condition expr(\u003ctenant attribute\u003e == ^tenant()) to every create action that upserts on the primary key or on an all_tenants? identity, and do not combine it with return_skipped_upsert?. An upsert into another tenant\u0027s record then fails with Ash.Error.Changes.StaleRecord (or is skipped in a bulk create) and leaves that record unchanged. This does not help on the Mnesia data layer, which ignores upsert conditions in affected versions.\", \"supportingMedia\": [{\"type\": \"text/html\", \"value\": \"\u003cp\u003eAdd \u003ccode\u003eupsert_condition expr(\u0026lt;tenant attribute\u0026gt; == ^tenant())\u003c/code\u003e to every create action that upserts on the primary key or on an \u003ccode\u003eall_tenants?\u003c/code\u003e identity, and do not combine it with \u003ccode\u003ereturn_skipped_upsert?\u003c/code\u003e. An upsert into another tenant\u0027s record then fails with \u003ccode\u003eAsh.Error.Changes.StaleRecord\u003c/code\u003e (or is skipped in a bulk create) and leaves that record unchanged. This does not help on the Mnesia data layer, which ignores upsert conditions in affected versions.\u003c/p\u003e\", \"base64\": false}, {\"type\": \"text/markdown\", \"value\": \"Add `upsert_condition expr(\u003ctenant attribute\u003e == ^tenant())` to every create action that upserts on the primary key or on an `all_tenants?` identity, and do not combine it with `return_skipped_upsert?`. An upsert into another tenant\u0027s record then fails with `Ash.Error.Changes.StaleRecord` (or is skipped in a bulk create) and leaves that record unchanged. This does not help on the Mnesia data layer, which ignores upsert conditions in affected versions.\", \"base64\": false}]}], \"dateAssigned\": \"2026-10-26T05:14:04.000Z\", \"descriptions\": [{\"lang\": \"en\", \"value\": \"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\u0027s records via an upserting create action.\\n\\nUnder 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\u0027s 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\u0027s 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\u0027s tenant. Read and update policies do not run for upserts, and tenant-scoped create policies pass because the tenant is the caller\u0027s own.\\n\\nThis issue affects ash: from 1.22.0 before 3.37.2.\", \"supportingMedia\": [{\"type\": \"text/html\", \"value\": \"\u003cp\u003eAuthorization Bypass Through User-Controlled Key vulnerability in ash-project ash allows a user of one tenant to read, overwrite and take over another tenant\u0027s records via an upserting create action.\u003c/p\u003e\\n\u003cp\u003eUnder attribute multitenancy, \u003ccode\u003eAsh.Actions.Create\u003c/code\u003e (\u003ccode\u003elib/ash/actions/create/create.ex\u003c/code\u003e) and \u003ccode\u003eAsh.Actions.Create.Bulk\u003c/code\u003e (\u003ccode\u003elib/ash/actions/create/bulk.ex\u003c/code\u003e) upserted on the primary key, or on an \u003ccode\u003eall_tenants?\u003c/code\u003e identity, without scoping the conflicting record to the request\u0027s tenant. A caller of a create action with \u003ccode\u003eupsert? true\u003c/code\u003e that accepts the primary key, supplying a record id from another tenant, updated that record\u0027s 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\u0027s tenant. Read and update policies do not run for upserts, and tenant-scoped create policies pass because the tenant is the caller\u0027s own.\u003c/p\u003e\\n\u003cp\u003eThis issue affects ash: from 1.22.0 before 3.37.2.\u003c/p\u003e\", \"base64\": false}, {\"type\": \"text/markdown\", \"value\": \"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\u0027s records via an upserting create action.\\n\\nUnder 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\u0027s 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\u0027s 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\u0027s tenant. Read and update policies do not run for upserts, and tenant-scoped create policies pass because the tenant is the caller\u0027s own.\\n\\nThis issue affects ash: from 1.22.0 before 3.37.2.\", \"base64\": false}]}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-639\", \"description\": \"CWE-639 Authorization Bypass Through User-Controlled Key\"}]}], \"configurations\": [{\"lang\": \"en\", \"value\": \"Reachable when a resource uses attribute multitenancy and exposes to callers of one tenant a create action with upsert? true that either upserts on the primary key (no upsert_identity) and accepts it, or upserts on an all_tenants? identity, and the caller knows or can enumerate a key belonging to another tenant (for example a serial integer id, or an id from a shared link or export).\", \"supportingMedia\": [{\"type\": \"text/html\", \"value\": \"\u003cp\u003eReachable when a resource uses attribute multitenancy and exposes to callers of one tenant a create action with \u003ccode\u003eupsert? true\u003c/code\u003e that either upserts on the primary key (no \u003ccode\u003eupsert_identity\u003c/code\u003e) and accepts it, or upserts on an \u003ccode\u003eall_tenants?\u003c/code\u003e identity, and the caller knows or can enumerate a key belonging to another tenant (for example a serial integer id, or an id from a shared link or export).\u003c/p\u003e\", \"base64\": false}, {\"type\": \"text/markdown\", \"value\": \"Reachable when a resource uses attribute multitenancy and exposes to callers of one tenant a create action with `upsert? true` that either upserts on the primary key (no `upsert_identity`) and accepts it, or upserts on an `all_tenants?` identity, and the caller knows or can enumerate a key belonging to another tenant (for example a serial integer id, or an id from a shared link or export).\", \"base64\": false}]}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"3.37.2\", \"versionStartIncluding\": \"1.22.0\"}], \"operator\": \"OR\"}], \"operator\": \"AND\"}], \"providerMetadata\": {\"orgId\": \"6b3ad84c-e1a6-4bf7-a703-f496b71e49db\", \"shortName\": \"EEF\", \"dateUpdated\": \"2026-10-26T07:20:07.186Z\"}}}",
"cveMetadata": "{\"cveId\": \"CVE-2026-96581\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-10-26T14:35:19.745Z\", \"dateReserved\": \"2026-10-25T17:30:02.206Z\", \"assignerOrgId\": \"6b3ad84c-e1a6-4bf7-a703-f496b71e49db\", \"datePublished\": \"2026-10-26T07:20:07.186Z\", \"assignerShortName\": \"EEF\"}",
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…