Skip to main content
EPSS 0.2%top 94%

CVE-2026-82745: CWE-284 Improper Access Control in ash-project ash

0
Medium
VulnerabilityCVE-2026-82745cvecve-2026-82745cwe-284
Published: 09/01/2026 (09/01/2026, 03:42:28 UTC)
Source: CVE Database V5
Vendor/Project: ash-project
Product: 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

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

ash-project

ash

Affected versions
>=0.4.0 <3.32.2

ash-project

ash

ash
pkg:hex/ash
Affected versions
>=0.4.0 <3.32.2
GitHub Actionsmore threats →cve
ash-project/ash
pkg:github/ash-project/ash
CPE configurations
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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/07/2026, 14:46:51 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses