CVE-2026-82741
published low CVSS 4.0 · 2.1Ash.Type.Union with :map_with_tag does not force the tag on dump, enabling tag confusion
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ash-project | — | ash2.14.18 to < 3.32.2 · Other versions: unaffected | Affected | Not stated | EEF |
| ash-project | — | ash-project/ashash · b0bd2d23d979e731610327636f51da4981fcef68 to < 8dbdaecd0f115f52e7c3f9a3e798617d6fbf5f7d · Other versions: unaffected | Affected | Not stated | EEF |
Description
Improper Validation of Specified Type of Input vulnerability in ash-project ash lets an attacker confuse the stored type tag of an Ash.Type.Union value that uses storage: :map_with_tag, bypassing that member's validation and any tag-based authorization. For a union with storage: :map_with_tag, each member is identified in storage by a configured tag and tag_value. Ash.Type.Union.dump_to_native/2 (lib/ash/type/union.ex) did not force the configured tag when writing the value, so a tag carried in the submitted value was persisted verbatim. An attacker can therefore store a value whose data belongs to one member but whose tag names a different member. On read the value is re-selected by its tag and treated as the incompatible member (a type confusion), bypassing the real member's constraints and any logic or policy that branches on the union tag. The fix drops any incoming tag and forces the configured tag value on dump. This issue affects ash: from 2.14.18 before 3.32.2.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 2.1 / 10
- Severity
- low
- Provider
- EEF · cna
- Vector string
- CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ash-project | ash | 2.14.18 to < 3.32.2 (affected · semver)Default: unaffected | EEF · cna |
| ash-project | ash | b0bd2d23d979e731610327636f51da4981fcef68 to < 8dbdaecd0f115f52e7c3f9a3e798617d6fbf5f7d (affected · git)Default: unaffected | EEF · cna |
Weaknesses
1- CWE-1287 CWE-1287 Improper Validation of Specified Type of Input
References
5- EEF CNA record for CVE-2026-82741 https://cna.erlef.org/cves/CVE-2026-82741.html
- Fix commit 8dbdaec in ash-project/ash https://github.com/ash-project/ash/commit/8dbdaecd0f115f52e7c3f9a3e798617d6fbf5f7d
- Introducing commit b0bd2d2 in ash-project/ash https://github.com/ash-project/ash/commit/b0bd2d23d979e731610327636f51da4981fcef68
- https://github.com/ash-project/ash/security/advisories/GHSA-2mmm-gc86-7jgg
- OSV record EEF-CVE-2026-82741 https://osv.dev/vulnerability/EEF-CVE-2026-82741
Provider assertions
2EEF · cna
Ash.Type.Union with :map_with_tag does not force the tag on dump, enabling tag confusion
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3f2ca8c6988eacd7e7717e109d95ed0c58b5bbba35281dad314d17fcbea2d5ee
- Ingested
- 19 Nov 2026, 08:43:53 UTC
- Source record
- Official CVE record