{"id":"CVE-2026-77970","summary":"Sensitive fields nested in embedded values are not redacted in AshPaperTrail versions","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.","aliases":["EEF-CVE-2026-77970","GHSA-v645-6jm6-cgpj"],"modified":"2026-08-31T03:45:14.264668914Z","published":"2026-08-30T00:18:22.853Z","database_specific":{"unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"ffe5e03b14d26b73bff17f3eca811591788aba9c"},{"fixed":"0cd4acfe7f48397673d8594fb5e2cd0f1bda6e40"}]}],"cna_assigner":"EEF","cwe_ids":["CWE-312"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77970.json"},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ash-project/ash_paper_trail","events":[{"introduced":"fd8c9a661b8ec97d592c53207c96b5547e0e811c"},{"fixed":"e03925c19365697ceb099d2ceca9ee1f5ce8c8b8"},{"fixed":"0cd4acfe7f48397673d8594fb5e2cd0f1bda6e40"}],"database_specific":{"source":["DESCRIPTION","REFERENCES"],"extracted_events":[{"introduced":"0.3.0"},{"fixed":"0.7.0"}]}}],"versions":["v0.6.0","v0.5.7","v0.5.6","v0.5.5","v0.5.4","v0.5.3","v0.5.2","v0.5.1","v0.5.0","v0.3.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-77970.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","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"}]}