{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0.3.0"
              },
              {
                "fixed": "0.7.0"
              }
            ],
            "source": [
              "DESCRIPTION",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "fd8c9a661b8ec97d592c53207c96b5547e0e811c"
            },
            {
              "fixed": "e03925c19365697ceb099d2ceca9ee1f5ce8c8b8"
            },
            {
              "fixed": "0cd4acfe7f48397673d8594fb5e2cd0f1bda6e40"
            }
          ],
          "repo": "https://github.com/ash-project/ash_paper_trail",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-v645-6jm6-cgpj"
  ],
  "database_specific": {
    "cna_assigner": "EEF",
    "cwe_ids": [
      "CWE-312"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77970.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "ffe5e03b14d26b73bff17f3eca811591788aba9c"
          },
          {
            "fixed": "0cd4acfe7f48397673d8594fb5e2cd0f1bda6e40"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "Cleartext Storage of Sensitive Information vulnerability in ash-project ash_paper_trail allows an attacker with read access to the generated version resource to recover sensitive values nested inside embedded resources, unions, or lists.\n\nsensitive_attributes :redact and :ignore only act on the tracked resource's top-level attributes. maybe_redact_changes/3 and the stored-action-input path in AshPaperTrail.Resource.Changes.CreateNewVersion derive the sensitive set from the resource's own attributes and never descend into embedded, union, or list values, so a non-sensitive attribute or action argument that holds an embed with a sensitive? field (for example an accepted credentials embed carrying a token) is written to the version table in cleartext.\n\nThis issue affects ash_paper_trail: from 0.3.0 before 0.7.0.",
  "id": "CVE-2026-77970",
  "modified": "2026-09-01T03:30:58.676656620Z",
  "published": "2026-08-30T00:18:22.853Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://cna.erlef.org/cves/CVE-2026-77970.html"
    },
    {
      "type": "WEB",
      "url": "https://github.com"
    },
    {
      "type": "WEB",
      "url": "https://osv.dev/vulnerability/EEF-CVE-2026-77970"
    },
    {
      "type": "WEB",
      "url": "https://repo.hex.pm"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77970.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/ash-project/ash_paper_trail/security/advisories/GHSA-v645-6jm6-cgpj"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-77970"
    },
    {
      "type": "FIX",
      "url": "https://github.com/ash-project/ash_paper_trail/commit/0cd4acfe7f48397673d8594fb5e2cd0f1bda6e40"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/ash-project/ash_paper_trail"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Sensitive fields nested in embedded values are not redacted in AshPaperTrail versions"
}