{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-82745","id":"CVE-2026-82745","title":"ETS and Mnesia data layers overwrite an existing record on create instead of enforcing primary-key uniqueness","description":"Improper Access Control vulnerability in ash-project ash lets a create action overwrite an existing record when the ETS or Mnesia data layer is used, because neither enforced primary-key uniqueness on insert.\n\nUnlike a SQL data layer, whose unique primary-key constraint rejects a duplicate, the ETS and Mnesia data layers implemented create as a keyed insert that replaces any existing entry with th","descriptionLong":"Improper Access Control vulnerability in ash-project ash lets a create action overwrite an existing record when the ETS or Mnesia data layer is used, because neither enforced primary-key uniqueness on insert.\n\nUnlike a SQL data layer, whose unique primary-key constraint rejects a duplicate, the ETS and Mnesia data layers implemented create as a keyed insert that replaces any existing entry with the same primary key (lib/ash/data_layer/ets/ets.ex, lib/ash/data_layer/mnesia/mnesia.ex). An actor who can set the primary key on a create (for example a user-supplied string or integer key) can submit a create whose key matches an existing record and silently overwrite it, destroying and replacing another entity's data without going through the update action or its policies. The fix rejects a create whose primary key already exists with an already-taken error, and only allows duplicates for keyless resources.\n\nThis issue affects ash: from 0.4.0 before 3.32.2.","published":"2026-09-01T03:42:28.309Z","updated":"2026-10-28T02:30:59.738784804Z","reserved":"2026-08-31T01:00:09.774Z","status":"Deferred","rejected":false,"assigner":"EEF","metric":{"version":"4.0","score":5.9,"vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","rating":"medium","source":"EEF"},"metrics":[{"version":"4.0","score":5.9,"vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","rating":"medium","source":"EEF"},{"version":"4.0","score":5.9,"vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/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","rating":"medium","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","rating":"unrated","source":"OSV"}],"rating":"medium","products":["ash-project ash"],"affectedProducts":[{"vendor":"ash-project","product":"ash","defaultStatus":"unaffected","versions":[{"lessThan":"3.32.2","status":"affected","version":"0.4.0","versionType":"semver"}],"platforms":[]},{"vendor":"ash-project","product":"ash","defaultStatus":"unaffected","versions":[{"lessThan":"912e243196017c2a812c25905c2b1cc3bbb843fc","status":"affected","version":"6dc699d8a683d542812b34a8c104cc90164add3a","versionType":"git"}],"platforms":[]}],"packages":[],"cwes":["CWE-284"],"aliases":["EEF-CVE-2026-82745","GHSA-92x7-q3h5-wf88"],"references":[{"url":"https://github.com/ash-project/ash/security/advisories/GHSA-92x7-q3h5-wf88","tags":["vendor-advisory","related","exploit","advisory"]},{"url":"https://cna.erlef.org/cves/CVE-2026-82745.html","tags":["related","web"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-82745","tags":["related","web"]},{"url":"https://github.com/ash-project/ash/commit/912e243196017c2a812c25905c2b1cc3bbb843fc","tags":["patch","fix"]},{"url":"https://github.com","tags":["web"]},{"url":"https://repo.hex.pm","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/82xxx/CVE-2026-82745.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-82745","tags":["advisory"]},{"url":"https://github.com/ash-project/ash","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00171,"epssPercentile":0.06531,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-82745","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-82745","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-82745","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-82745","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}