{"schema":"threatline.record/2","record":{"id":"CVE-2026-96581","aliases":["GHSA-vw7c-67pf-gh96"],"summary":"An upsert on the primary key in Ash ignores attribute multitenancy, so one tenant can read, overwrite and take over another tenant's records","details":"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.","categories":["Unclassified"],"product":"ash","vendor":"ash-project","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-96581","source_modified_at":"2026-10-26T07:20:07.186Z","fetched_at":"2026-10-26T12:48:13.248886Z","product":"ash","vendor":"ash-project","versions":[{"lessThan":"3.37.2","status":"affected","version":"1.22.0","versionType":"semver"}],"defaultStatus":"unaffected"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-96581","source_modified_at":"2026-10-26T07:20:07.186Z","fetched_at":"2026-10-26T12:48:13.248886Z","product":"ash","vendor":"ash-project","versions":[{"lessThan":"c9f0cdb31e7c084def05f3f5be69dd7bb7721754","status":"affected","version":"2333d01ddf37e5909769a513059b27e3183331c5","versionType":"git"}],"defaultStatus":"unaffected"}],"fixed_versions":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-96581","source_modified_at":"2026-10-26T07:20:07.186Z","fetched_at":"2026-10-26T12:48:13.248886Z","package":{"name":"ash","ecosystem":null},"version":"3.37.2","basis":"first unaffected version stated in the CVE record"}],"cvss":7.6,"severity":"High","kev":{"listed":false},"epss":{"probability":null,"percentile":null,"score_date":null},"published_at":"2026-10-26T07:20:07.186Z","modified_at":"2026-10-26T07:20:07.186Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-96581","fetched_at":"2026-10-26T12:48:13.248886Z","source_modified_at":"2026-10-26T07:20:07.186Z"}],"sources":["CVE List"],"references":[{"source":"CVE List","url":"https://github.com/ash-project/ash/security/advisories/GHSA-vw7c-67pf-gh96","tags":["vendor-advisory","related"]},{"source":"CVE List","url":"https://cna.erlef.org/cves/CVE-2026-96581.html","tags":["related"]},{"source":"CVE List","url":"https://osv.dev/vulnerability/EEF-CVE-2026-96581","tags":["related"]},{"source":"CVE List","url":"https://github.com/ash-project/ash/commit/2333d01ddf37e5909769a513059b27e3183331c5","tags":["related"]},{"source":"CVE List","url":"https://github.com/ash-project/ash/commit/c9f0cdb31e7c084def05f3f5be69dd7bb7721754","tags":["patch"]}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":null,"confidence":"unknown","reviewed":false},"change_timestamp":"2026-10-26T07:20:07.186Z","content_hash":"04ce1704dfadcc381ce94e0d5a1816f1597a9143b0cba2b7fe552edfc80a371f"}}
