CVE-2026-82745

ETS and Mnesia data layers overwrite an existing record on create instead of enforcing primary-key uniqueness

MEDIUM
5.9
CVSS Score
Published: September 1, 2026 at 03:42 AM UTC
Updated: September 1, 2026 at 09:31 PM UTC
1 product affected across 1 vendorAsh

Using ash by ash-project?

Get instant alerts when new vulnerabilities affect ash - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.9
Exploit prediction
EPSS 0.2%
SSVC
PoC

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. Unlike 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. This issue affects ash: from 0.4.0 before 3.32.2.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

90%
0.4.0 ≤ v < 3.32.20.4.06dc699d8a683d542812b34a8c104cc90164add3a
Vendor states this is fixed in 912e243196017c2a812c25905c2b1cc3bbb843fc (fixed)
Affected range stops below 3.32.2, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

SSVC — Action Prioritization

SSVCPoCNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.9MEDIUMEEF
Vector?

Quick Info

StatusDEFERRED
CWE
CWE-284

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card