CVE-2026-77970

Sensitive fields nested in embedded values are not redacted in AshPaperTrail versions

State
Published
Severity
5.9 Medium
Published
Aug 30, 2026
Updated
Aug 31, 2026
Reserved
Aug 24, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.05.9 MediumCVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NEEF

Weaknesses

  • CWE-312 Cleartext Storage of Sensitive Information

Affected Products

ProductVersions
ash_paper_trailash-project
  • 0.3.0 to before 0.7.0Affected
ash_paper_trailash-project
  • ffe5e03b14d26b73bff17f3eca811591788aba9c to before 0cd4acfe7f48397673d8594fb5e2cd0f1bda6e40Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.