{"id":"CVE-2026-96581","kind":"vulnerability","aliases":["CVE-2026-96581"],"related":[],"title":"Ash: upsert lets one tenant read and take over another tenant's records","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.\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'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.\n\nThis issue affects ash: from 1.22.0 before 3.37.2.","summary":"Ash, an Elixir framework, skips tenant scoping when an upserting create action matches an existing primary key. A user of one tenant who supplies another tenant's record id can read all of that record's attributes and move it into their own tenant.","severity":"high","cvss":7.6,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["ash","elixir","multitenancy","package","phoenix"],"not_affected_if":["ash-below-1.22.0-or-3.37.2-plus","no-attribute-multitenancy","no-upsert-on-primary-key"],"how_to_check":"- Run `mix deps | grep ash` (or check `mix.lock`) to see the installed `ash` version\n- Search the code for create actions with `upsert? true` that accept the primary key under multitenancy (attribute strategy)","fix":"- Upgrade the `ash` package to `3.37.2` or later","status":"open","published_at":"2026-10-26T08:17:20+00:00","first_seen_at":"2026-10-26T08:28:59+00:00","triaged_at":"2026-10-26T08:30:20+00:00","updated_at":"2026-10-26T08:30:20+00:00","category":"package","confidence":0.7,"triage":{"at":"2026-10-26T08:30:20Z","model":"claude-haiku-5-5","output":{"fix":"- Upgrade the `ash` package to `3.37.2` or later","reach":"internet","title":"Ash: upsert lets one tenant read and take over another tenant's records","impact":"high","summary":"Ash, an Elixir framework, skips tenant scoping when an upserting create action matches an existing primary key. A user of one tenant who supplies another tenant's record id can read all of that record's attributes and move it into their own tenant.","category":"package","nicknames":[],"who_cares":["elixir","ash","multitenancy","phoenix"],"confidence":0.7,"needs_auth":"yes","worst_case":"Attacker reads and takes over records belonging to other tenants","analyst_note":"Check the Ash 3.37.2 changelog or GitHub advisory for whether a patch exists below 3.37.2 and confirm which action configurations are exploitable.","how_to_check":"- Run `mix deps | grep ash` (or check `mix.lock`) to see the installed `ash` version\n- Search the code for create actions with `upsert? true` that accept the primary key under multitenancy (attribute strategy)","needs_analyst":true,"not_affected_if":["ash-below-1.22.0-or-3.37.2-plus","no-attribute-multitenancy","no-upsert-on-primary-key"],"who_is_affected":"Applications built on Ash 1.22.0 up to but not including 3.37.2 that use attribute multitenancy and have a create action with upsert? true that accepts the primary key. Exposure needs a user of one tenant to reach that create action and supply an id from another tenant. Apps without multitenancy, or without upserting create actions that accept the primary key, are not exposed.","user_interaction":"no","needs_special_setup":"yes","severity_if_unknown":"unknown"},"cost_usd":0.00066,"input_tokens":3548,"output_tokens":610,"severity_before":"high"},"analyst_status":null,"analyst_note":null,"search":"'-2026':15A,18A '-96581':16A,19A '1.22.0':216C '3.37.2':218C 'accept':142C 'action':36B,102C,137C 'affect':213C 'allow':82C 'anoth':10A,49B,94C,151C 'ash':1A,20B,25B,79C,81C,214C 'ash-project':78C 'ash.actions.create':106C 'ash.actions.create.bulk':109C 'attribut':61B,104C,164C,175C 'author':69C 'bypass':70C 'caller':133C,184C,208C 'conflict':125C 'control':74C 'creat':35B,101C,136C,200C 'cve':14A,17A 'default':170C 'elixir':21B,27B 'exist':39B 'field':158C,172C 'framework':28B 'id':53B,149C 'ident':121C 'issu':212C 'key':41B,75C,115C,145C 'let':3A 'lib/ash/actions/create/bulk.ex':110C 'lib/ash/actions/create/create.ex':107C 'match':37B 'move':63B,179C 'multiten':22B,105C 'one':4A,45B,86C 'overwrit':90C 'packag':23B 'pass':202C 'phoenix':24B 'polici':190C,201C 'primari':40B,114C,144C 'project':80C 'read':6A,55B,89C,187C 'receiv':160C 'record':13A,52B,59B,97C,126C,148C,155C,181C 'request':129C 'result':167C 'run':193C 'scope':31B,123C,199C 'skip':29B 'suppli':48B,146C 'take':8A,92C 'tenant':5A,11A,30B,46B,50B,68B,87C,95C,120C,131C,152C,174C,186C,198C,205C 'tenant-scop':197C 'true':140C 'updat':153C,189C 'upsert':2A,34B,100C,111C,139C,157C,171C,195C 'user':43B,73C,84C 'user-control':72C 'via':98C 'vulner':76C 'without':122C 'written':177C","nicknames":[],"mitigations":[],"who_affected":"Applications built on Ash 1.22.0 up to but not including 3.37.2 that use attribute multitenancy and have a create action with upsert? true that accepts the primary key. Exposure needs a user of one tenant to reach that create action and supply an id from another tenant. Apps without multitenancy, or without upserting create actions that accept the primary key, are not exposed.","tier":"B","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-10-26T08:17:20+00:00","kev":null,"cvss_vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-96581","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-96581","severity":null,"published_at":"2026-10-26T08:17:20+00:00","modified_at":"2026-10-26T08:17:20+00:00","first_seen_at":"2026-10-26T08:28:59+00:00","fetched_at":"2026-10-26T08:28:59+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}