Erlang Ecosystem Foundation
EEF-CVE-2026-82739
Ash.Resource.Validation.Confirm leaks a confirmed field's stored value in the atomic mismatch error
Details
Summary
Generation of Error Message Containing Sensitive Information vulnerability in ash-project ash discloses the stored value of a confirmed field to an actor who fails its confirmation check.
Ash.Resource.Validation.Confirm's atomic implementation (atomic/2 in lib/ash/resource/validation/confirm.ex) built the mismatch error with its value set to the field being confirmed. When the actor supplies only the confirmation argument and not the field itself, value resolves through atomic_ref/2 to the field's current stored value, so the mismatch error echoes that stored value back to the actor. Against a confirmation guarding a sensitive attribute, an actor can submit a deliberately wrong confirmation and read the real value from the returned error. The fix reports the actor-supplied confirmation in the error instead of the stored field value.
This issue affects ash: from 2.17.20 before 3.32.2.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Hex | ash | From 2.17.20 before 3.32.2 (fixed in 3.32.2) |
v3.32.1, v3.31.3, v3.31.2, v3.31.1, v3.31.0, v3.30.1, v3.30.0, v3.29.3 and 284 more |
References
- https://github.com/ash-project/ash/security/advisories/GHSA-66cg-vj5m-8w7v
- https://cna.erlef.org/cves/CVE-2026-82739.html
- https://github.com/ash-project/ash/commit/fadecf3ee95640bd3bc7298df4799e0375537fd2
- https://github.com/ash-project/ash/commit/7dfe5f0b1ba4267580ded947dc861351d4dc8e2b
- https://hex.pm/packages/ash