CVE-2026-82745: CWE-284 Improper Access Control in ash-project ash
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.
CVSS v4.0
Score 5.9medium
Affected software
ash-project
ash
ash-project
ash
cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability arises from the ash framework's ETS and Mnesia data layers not enforcing primary key uniqueness on create operations. When a create action is performed with a primary key that already exists, the existing record is overwritten instead of rejected. This allows an actor who can control the primary key value to overwrite existing records, circumventing update action policies. The issue affects ash versions from 0.4.0 before 3.32.2. The intended fix is to reject create requests with duplicate primary keys, only allowing duplicates for keyless resources.
Potential Impact
An attacker with the ability to specify primary keys in create actions can overwrite existing records silently, potentially destroying or replacing another entity's data without going through update policies. This improper access control can lead to data integrity issues and unauthorized data modification. The CVSS 4.0 score is 5.9 (medium severity), reflecting local attack vector, low attack complexity, partial privileges required, no user interaction, and high impact on integrity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The described fix involves rejecting create actions with duplicate primary keys except for keyless resources. Until an official fix is available, restrict or validate inputs that control primary keys in create actions to prevent overwriting existing records.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- EEF
- Date Reserved
- 2026-08-31T01:00:09.774Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a964c16acd9273b492d1353
Added to database: 09/01/2026, 03:52:54 UTC
Last enriched: 09/07/2026, 14:46:51 UTC
Last updated: 10/14/2026, 06:48:21 UTC
Views: 79
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.