# CVE-2026-77970: Sensitive fields nested in embedded values are not redacted in AshPaperTrail versions

- Severity: Medium 5.9 (CVSS:4.0, scored by EEF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-30T00:18:22.853Z
- Modified: 2026-11-25T06:31:01.511Z
- Also known as: EEF-CVE-2026-77970, GHSA-v645-6jm6-cgpj
- Weaknesses: CWE-312
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: EEF

## Description

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.

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.

This issue affects ash_paper_trail: from 0.3.0 before 0.7.0.

(As written by CVE List.)

## Affected

- ash_paper_trail: from 0.3.0 before 0.7.0
- ash-project/ash_paper_trail: from ffe5e03b14d26b73bff17f3eca811591788aba9c before 0cd4acfe7f48397673d8594fb5e2cd0f1bda6e40
- ash_paper_trail (Hex): from 0.3.0 before 0.7.0
- https://github.com/ash-project/ash_paper_trail: from ffe5e03b14d26b73bff17f3eca811591788aba9c before 0cd4acfe7f48397673d8594fb5e2cd0f1bda6e40

## Every score

- EEF: CVSS:4.0 5.9 Medium `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`
- Erlang Ecosystem Foundation: CVSS:4.0 `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`

## References

- <https://github.com/ash-project/ash_paper_trail/security/advisories/GHSA-v645-6jm6-cgpj> (exploit, advisory, related, vendor-advisory)
- <https://cna.erlef.org/cves/CVE-2026-77970.html> (related, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-77970> (related)
- <https://github.com/ash-project/ash_paper_trail/commit/ffe5e03b14d26b73bff17f3eca811591788aba9c> (related, web)
- <https://github.com/ash-project/ash_paper_trail/commit/0cd4acfe7f48397673d8594fb5e2cd0f1bda6e40> (fix, patch)
- <https://hex.pm/packages/ash_paper_trail> (package)

## Sources

- CVE List: [CVE-2026-77970](https://www.cve.org/CVERecord?id=CVE-2026-77970), CVE Terms of Use, modified 2026-11-19
- Erlang Ecosystem Foundation: [EEF-CVE-2026-77970](https://osv.dev/vulnerability/EEF-CVE-2026-77970), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2026-77970](https://nvd.nist.gov/vuln/detail/CVE-2026-77970), Public domain, modified 2026-11-19

---

Page: https://cve.day/CVE-2026-77970 · Whole record: https://cve.day/CVE-2026-77970.json · Rebuilt by cve.day 2026-11-25T22:59:35.753Z
