{"affected":[{"package":{"ecosystem":"Hex","name":"ash_paper_trail","purl":"pkg:hex/ash_paper_trail"},"ranges":[{"events":[{"introduced":"0.3.0"},{"fixed":"0.7.0"}],"type":"SEMVER"}],"versions":["0.3.0","0.3.1","0.4.0","0.5.0","0.5.1","0.5.2","0.5.3","0.5.4","0.5.5","0.5.6","0.5.7","0.6.0"]},{"ranges":[{"events":[{"introduced":"ffe5e03b14d26b73bff17f3eca811591788aba9c"},{"fixed":"0cd4acfe7f48397673d8594fb5e2cd0f1bda6e40"}],"repo":"https://github.com/ash-project/ash_paper_trail","type":"GIT"}]}],"aliases":["GHSA-v645-6jm6-cgpj","CVE-2026-77970"],"credits":[{"name":"Peter Ullrich","type":"FINDER"},{"name":"Peter Ullrich","type":"REPORTER"},{"name":"Zach Daniel / Ash Project","type":"REMEDIATION_DEVELOPER"},{"name":"Jonatan Männchen / EEF","type":"COORDINATOR"}],"database_specific":{"capec_ids":["CAPEC-37"],"cpe_ids":["cpe:2.3:a:ash-project:ash_paper_trail:*:*:*:*:*:*:*:*"],"cwe_ids":["CWE-312"]},"details":"## Summary\n\nCleartext 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\n`sensitive_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.\n\n## Configurations\n\nThe resource must version an attribute or accept an action input whose type is an embedded resource, union, or list containing a `sensitive?` field, with `sensitive_attributes` set to `:redact` or `:ignore`. Exposure requires read access to the generated version resource.","id":"EEF-CVE-2026-77970","modified":"2026-09-08T02:00:23.148686Z","published":"2026-08-30T00:18:22.853Z","references":[{"type":"ADVISORY","url":"https://github.com/ash-project/ash_paper_trail/security/advisories/GHSA-v645-6jm6-cgpj"},{"type":"WEB","url":"https://cna.erlef.org/cves/CVE-2026-77970.html"},{"type":"FIX","url":"https://github.com/ash-project/ash_paper_trail/commit/0cd4acfe7f48397673d8594fb5e2cd0f1bda6e40"},{"type":"PACKAGE","url":"https://hex.pm/packages/ash_paper_trail"}],"related":[],"schema_version":"1.7.3","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","upstream":[]}