{"id":"CVE-2026-82739","state":"PUBLISHED","title":"Ash.Resource.Validation.Confirm leaks a confirmed field's stored value in the atomic mismatch error","description":"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.\n\nAsh.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.\n\nThis issue affects ash: from 2.17.20 before 3.32.2.","publishedAt":"2026-09-01T03:27:58.165Z","updatedAt":"2026-09-01T12:44:21.482Z","severity":{"score":2.1,"label":"Low","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","source":"EEF"},"assigner":"EEF","products":["ash-project ash"],"affected":[{"vendor":"ash-project","product":"ash","packageName":"ash","packageURL":"pkg:hex/ash","defaultStatus":"unaffected","versions":[{"version":"2.17.20","status":"affected","lessThan":"3.32.2","versionType":"semver"}],"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*"],"modules":["'Elixir.Ash.Resource.Validation.Confirm'"],"programFiles":["lib/ash/resource/validation/confirm.ex"],"programRoutines":[{"name":"'Elixir.Ash.Resource.Validation.Confirm':atomic/2"}],"repo":"https://github.com/ash-project/ash"},{"vendor":"ash-project","product":"ash","packageName":"ash-project/ash","packageURL":"pkg:github/ash-project/ash","defaultStatus":"unaffected","versions":[{"version":"fadecf3ee95640bd3bc7298df4799e0375537fd2","status":"affected","lessThan":"7dfe5f0b1ba4267580ded947dc861351d4dc8e2b","versionType":"git"}],"collectionURL":"https://github.com","cpes":["cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*"],"modules":["'Elixir.Ash.Resource.Validation.Confirm'"],"programFiles":["lib/ash/resource/validation/confirm.ex"],"programRoutines":[{"name":"'Elixir.Ash.Resource.Validation.Confirm':atomic/2"}],"repo":"https://github.com/ash-project/ash"}],"references":["https://github.com/ash-project/ash/security/advisories/GHSA-66cg-vj5m-8w7v","https://cna.erlef.org/cves/CVE-2026-82739.html","https://osv.dev/vulnerability/EEF-CVE-2026-82739","https://github.com/ash-project/ash/commit/7dfe5f0b1ba4267580ded947dc861351d4dc8e2b"],"weaknesses":["CWE-209"],"ingestedAt":"2026-10-29T20:13:15.269Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/82xxx/CVE-2026-82739.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-82739","state":"PUBLISHED","datePublished":"2026-09-01T03:27:58.165Z","dateUpdated":"2026-09-01T12:44:21.482Z","assignerShortName":"EEF","assignerOrgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","dateReserved":"2026-08-31T00:59:10.002Z"},"containers":{"cna":{"title":"Ash.Resource.Validation.Confirm leaks a confirmed field's stored value in the atomic mismatch error","descriptions":[{"lang":"en","value":"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.\n\nAsh.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.\n\nThis issue affects ash: from 2.17.20 before 3.32.2."}],"affected":[{"vendor":"ash-project","product":"ash","packageName":"ash","packageURL":"pkg:hex/ash","defaultStatus":"unaffected","versions":[{"version":"2.17.20","status":"affected","lessThan":"3.32.2","versionType":"semver"}],"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*"],"modules":["'Elixir.Ash.Resource.Validation.Confirm'"],"programFiles":["lib/ash/resource/validation/confirm.ex"],"programRoutines":[{"name":"'Elixir.Ash.Resource.Validation.Confirm':atomic/2"}],"repo":"https://github.com/ash-project/ash"},{"vendor":"ash-project","product":"ash","packageName":"ash-project/ash","packageURL":"pkg:github/ash-project/ash","defaultStatus":"unaffected","versions":[{"version":"fadecf3ee95640bd3bc7298df4799e0375537fd2","status":"affected","lessThan":"7dfe5f0b1ba4267580ded947dc861351d4dc8e2b","versionType":"git"}],"collectionURL":"https://github.com","cpes":["cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*"],"modules":["'Elixir.Ash.Resource.Validation.Confirm'"],"programFiles":["lib/ash/resource/validation/confirm.ex"],"programRoutines":[{"name":"'Elixir.Ash.Resource.Validation.Confirm':atomic/2"}],"repo":"https://github.com/ash-project/ash"}],"references":[{"url":"https://github.com/ash-project/ash/security/advisories/GHSA-66cg-vj5m-8w7v","tags":["vendor-advisory","related"]},{"url":"https://cna.erlef.org/cves/CVE-2026-82739.html","tags":["related"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-82739","tags":["related"]},{"url":"https://github.com/ash-project/ash/commit/7dfe5f0b1ba4267580ded947dc861351d4dc8e2b","tags":["patch"]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"LOCAL","baseScore":2.1,"baseSeverity":"LOW","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-209","description":"CWE-209 Generation of Error Message Containing Sensitive Information","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"EEF","orgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","dateUpdated":"2026-09-01T03:27:58.165Z"},"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*","versionEndExcluding":"3.32.2","versionStartIncluding":"2.17.20","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"AND"}],"credits":[{"lang":"en","type":"coordinator","value":"Jonatan Männchen / EEF"},{"lang":"en","type":"reporter","value":"Peter Ullrich"},{"lang":"en","type":"remediation developer","value":"Zach Daniel / Ash Project"},{"lang":"en","type":"finder","value":"Peter Ullrich"}],"impacts":[{"capecId":"CAPEC-54","descriptions":[{"lang":"en","value":"CAPEC-54 Query System for Information"}]}],"source":{"discovery":"EXTERNAL"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/ash-project/ash/security/advisories/GHSA-66cg-vj5m-8w7v","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-01T12:43:57.417588Z","id":"CVE-2026-82739","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-01T12:44:21.482Z"}}]}}}