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.

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.
Published: 2026-09-01
Score: 2.1 Low
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A flaw in Ash.Resource.Validation.Confirm allows a user who fails a confirmation check to receive a mismatch error that contains the field's stored value. The error generation is based on an atomic implementation that, when the confirmation argument is supplied without the original field value, retrieves the current stored value and echoes it back to the caller, exposing sensitive data. This is a classic Information Exposure Through an Error Message weakness (CWE-209), enabling attackers to discover confidential configuration or user data without any additional privileges.

Affected Systems

The vulnerability applies to the Ash web framework released by ash-project, affecting all versions from 2.17.20 up to, but not including, 3.32.2. It triggers whenever any actor submits a confirmation value for a sensitive field that does not match the stored value.

Risk and Exploitability

The CVSS score of 2.1 reflects a low severity, and the EPSS score is unavailable while remaining absent from the CISA KEV catalog, indicating no widespread exploitation is known. The likely attack vector is local or remote request to a validation endpoint; any user capable of interacting with the API can intentionally provide an incorrect confirmation to trigger the error response and read the leaked value. As the flaw discloses data rather than enabling execution or privilege escalation, the overall risk to confidentiality remains low‑moderate, especially if the framework is used to protect sensitive attributes.

Generated by OpenCVE AI on September 1, 2026 at 04:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to ash 3.32.2 or later, which replaces the error message with the confirmation supplied by the actor.
  • If immediate upgrade is not possible, modify the validation logic for sensitive fields so that mismatch errors reveal only the supplied confirmation, not the stored value, or disable detailed mismatches for those attributes entirely.
  • Configure the framework to suppress detailed error information in production environments, ensuring that generic error responses are returned instead of the full mismatch message.

Generated by OpenCVE AI on September 1, 2026 at 04:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 01 Sep 2026 03:45:00 +0000

Type Values Removed Values Added
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. 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.
Title Ash.Resource.Validation.Confirm leaks a confirmed field's stored value in the atomic mismatch error
First Time appeared Ash-project
Ash-project ash
Weaknesses CWE-209
CPEs cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*
Vendors & Products Ash-project
Ash-project ash
References
Metrics cvssV4_0

{'score': 2.1, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: EEF

Published:

Updated: 2026-09-01T03:27:58.165Z

Reserved: 2026-08-31T00:59:10.002Z

Link: CVE-2026-82739

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-01T04:18:03.580

Modified: 2026-09-01T04:18:03.580

Link: CVE-2026-82739

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-01T04:30:03Z

Weaknesses
  • CWE-209

    Generation of Error Message Containing Sensitive Information