eef-cve-2026-82723

CVSS 1.8 osv_hex
Description

## Summary Insertion of Sensitive Information into Log File vulnerability in team-alembic AshAuthentication allows disclosure of user password digests to readers of the audit store. The `audit_log` add-on builds each entry's `extra_data` in `AshAuthentication.AddOn.AuditLog.Auditor.build_extra_data/4`, which takes `:actor` from the action callback context verbatim. Any audited action invoked with `actor:` set to a user record therefore deposits that record, including its `hashed_password` attribute, into the audit entry. The same module already collapses the audited identity to an opaque string via `AshAuthentication.user_to_subject/1` and filters `params` against the strategy's configured allow-list, so the actor is the only stored value that reaches the audit store unfiltered. Marking the attribute `sensitive?: true` does not help, because that redacts `inspect/1` output rather than JSON encoding or raw-term storage. There is no attacker-controlled trigger and no network disclosure path: entries accumulate from ordinary authenticated activity, and an attacker's own requests deposit only their own digest. Exploitation requires independent read access to the audit store, such as database credentials, an audit role, a backup, or a log shipper, at which point the digests support offline password attack against every active account. Whether the material persists depends on the data layer, since raw-term stores keep it verbatim while a SQL store raises `Protocol.UndefinedError` and drops the entry unless the user resource derives `Jason.Encoder`. This issue affects ash_authentication: from 4.12.0 before 4.15.0 and from 5.0.0-rc.0 before 5.0.0-rc.2.

Timeline
Published
unknown
Last Modified
unknown
CVSS Details

CVSS details not available.

Affected Products

No product information available.

Weaknesses (CWE)
References
Linked Vulnerabilities

No linked vulnerabilities found.

{
  "affected": [
    {
      "database_specific": {
        "source": "https://cna.erlef.org/osv/EEF-CVE-2026-82723.json"
      },
      "package": {
        "ecosystem": "Hex",
        "name": "ash_authentication",
        "purl": "pkg:hex/ash_authentication"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "4.12.0"
            },
            {
              "fixed": "4.15.0"
            }
          ],
          "type": "SEMVER"
        },
        {
          "events": [
            {
              "introduced": "5.0.0-rc.0"
            },
            {
              "fixed": "5.0.0-rc.2"
            }
          ],
          "type": "SEMVER"
        }
      ],
      "versions": [
        "4.12.0",
        "4.13.0",
        "4.13.1",
        "4.13.2",
        "4.13.3",
        "4.13.4",
        "4.13.5",
        "4.13.6",
        "4.13.7",
        "4.14.0",
        "4.14.1",
        "4.14.2",
        "5.0.0-rc.0",
        "5.0.0-rc.1"
      ]
    },
    {
      "database_specific": {
        "source": "https://cna.erlef.org/osv/EEF-CVE-2026-82723.json"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "255cfc9c0e511b7e0de39f8b3d676ae994fae06c"
            },
            {
              "fixed": "17ea0dff3bad56a7e915e050c43ab7160b37901f"
            },
            {
              "fixed": "f6b49cc98b9ff7c16a1aeb12e35633a8d93a211f"
            }
          ],
          "repo": "https://github.com/team-alembic/ash_authentication",
          "type": "GIT"
        }
      ],
      "versions": [
        "v4.14.2",
        "v4.14.1",
        "v4.14.0",
        "v4.13.7",
        "v5.0.0-rc.1",
        "v5.0.0-rc.0",
        "v4.13.6",
        "v4.13.5",
        "v4.13.4",
        "v4.13.3",
        "v4.13.2",
        "v4.13.1",
        "v4.13.0",
        "v4.12.0"
      ]
    }
  ],
  "aliases": [
    "CVE-2026-82723",
    "GHSA-59wx-q3r8-ghv4"
  ],
  "credits": [
    {
      "name": "James Harton",
      "type": "REMEDIATION_DEVELOPER"
    },
    {
      "name": "Peter Ullrich",
      "type": "REPORTER"
    },
    {
      "name": "Jonatan Männchen",
      "type": "COORDINATOR"
    }
  ],
  "database_specific": {
    "capec_ids": [
      "CAPEC-49"
    ],
    "cpe_ids": [
      "cpe:2.3:a:team-alembic:ash_authentication:*:*:*:*:*:*:*:*"
    ],
    "cwe_ids": [
      "CWE-532"
    ]
  },
  "details": "## Summary\n\nInsertion of Sensitive Information into Log File vulnerability in team-alembic AshAuthentication allows disclosure of user password digests to readers of the audit store.\n\nThe `audit_log` add-on builds each entry's `extra_data` in `AshAuthentication.AddOn.AuditLog.Auditor.build_extra_data/4`, which takes `:actor` from the action callback context verbatim. Any audited action invoked with `actor:` set to a user record therefore deposits that record, including its `hashed_password` attribute, into the audit entry. The same module already collapses the audited identity to an opaque string via `AshAuthentication.user_to_subject/1` and filters `params` against the strategy's configured allow-list, so the actor is the only stored value that reaches the audit store unfiltered. Marking the attribute `sensitive?: true` does not help, because that redacts `inspect/1` output rather than JSON encoding or raw-term storage.\n\nThere is no attacker-controlled trigger and no network disclosure path: entries accumulate from ordinary authenticated activity, and an attacker's own requests deposit only their own digest. Exploitation requires independent read access to the audit store, such as database credentials, an audit role, a backup, or a log shipper, at which point the digests support offline password attack against every active account. Whether the material persists depends on the data layer, since raw-term stores keep it verbatim while a SQL store raises `Protocol.UndefinedError` and drops the entry unless the user resource derives `Jason.Encoder`.\n\nThis issue affects ash_authentication: from 4.12.0 before 4.15.0 and from 5.0.0-rc.0 before 5.0.0-rc.2.",
  "id": "EEF-CVE-2026-82723",
  "modified": "2026-09-17T13:26:03.874426989Z",
  "published": "2026-09-17T13:08:05.355Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/team-alembic/ash_authentication/security/advisories/GHSA-59wx-q3r8-ghv4"
    },
    {
      "type": "WEB",
      "url": "https://cna.erlef.org/cves/CVE-2026-82723.html"
    },
    {
      "type": "WEB",
      "url": "https://github.com/team-alembic/ash_authentication/commit/255cfc9c0e511b7e0de39f8b3d676ae994fae06c"
    },
    {
      "type": "FIX",
      "url": "https://github.com/team-alembic/ash_authentication/commit/17ea0dff3bad56a7e915e050c43ab7160b37901f"
    },
    {
      "type": "FIX",
      "url": "https://github.com/team-alembic/ash_authentication/commit/f6b49cc98b9ff7c16a1aeb12e35633a8d93a211f"
    },
    {
      "type": "PACKAGE",
      "url": "https://hex.pm/packages/ash_authentication"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:H/AT:P/PR:H/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Actor record with password digest stored in AshAuthentication audit log entries"
}
View JSON API Download JSON