CVE-2026-77970 (GCVE-0-2026-77970)
Vulnerability from cvelistv5
Published
2026-08-30 00:18
Modified
2026-08-30 00:18
CWE
  • CWE-312 - Cleartext Storage of Sensitive Information
Summary
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.
Impacted products
Vendor Product Version
ash-project ash_paper_trail Version: 0.3.0   
    cpe:2.3:a:ash-project:ash_paper_trail:*:*:*:*:*:*:*:*
Create a notification for this product.
   ash-project ash_paper_trail Version: ffe5e03b14d26b73bff17f3eca811591788aba9c
    cpe:2.3:a:ash-project:ash_paper_trail:*:*:*:*:*:*:*:*
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "collectionURL": "https://repo.hex.pm",
          "cpes": [
            "cpe:2.3:a:ash-project:ash_paper_trail:*:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "modules": [
            "\u0027Elixir.AshPaperTrail.Resource.Changes.CreateNewVersion\u0027"
          ],
          "packageName": "ash_paper_trail",
          "packageURL": "pkg:hex/ash_paper_trail",
          "product": "ash_paper_trail",
          "programFiles": [
            "lib/resource/changes/create_new_version.ex"
          ],
          "programRoutines": [
            {
              "name": "\u0027Elixir.AshPaperTrail.Resource.Changes.CreateNewVersion\u0027:maybe_redact_changes/3"
            }
          ],
          "repo": "https://github.com/ash-project/ash_paper_trail",
          "vendor": "ash-project",
          "versions": [
            {
              "lessThan": "0.7.0",
              "status": "affected",
              "version": "0.3.0",
              "versionType": "semver"
            }
          ]
        },
        {
          "collectionURL": "https://github.com",
          "cpes": [
            "cpe:2.3:a:ash-project:ash_paper_trail:*:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "modules": [
            "\u0027Elixir.AshPaperTrail.Resource.Changes.CreateNewVersion\u0027"
          ],
          "packageName": "ash-project/ash_paper_trail",
          "packageURL": "pkg:github/ash-project/ash_paper_trail",
          "product": "ash_paper_trail",
          "programFiles": [
            "lib/resource/changes/create_new_version.ex"
          ],
          "programRoutines": [
            {
              "name": "\u0027Elixir.AshPaperTrail.Resource.Changes.CreateNewVersion\u0027:maybe_redact_changes/3"
            }
          ],
          "repo": "https://github.com/ash-project/ash_paper_trail",
          "vendor": "ash-project",
          "versions": [
            {
              "lessThan": "0cd4acfe7f48397673d8594fb5e2cd0f1bda6e40",
              "status": "affected",
              "version": "ffe5e03b14d26b73bff17f3eca811591788aba9c",
              "versionType": "git"
            }
          ]
        }
      ],
      "configurations": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eThe resource must version an attribute or accept an action input whose type is an embedded resource, union, or list containing a \u003ccode\u003esensitive?\u003c/code\u003e field, with \u003ccode\u003esensitive_attributes\u003c/code\u003e set to \u003ccode\u003e:redact\u003c/code\u003e or \u003ccode\u003e:ignore\u003c/code\u003e. Exposure requires read access to the generated version resource.\u003c/p\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "The 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."
            }
          ],
          "value": "The 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."
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:ash-project:ash_paper_trail:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "0.7.0",
                  "versionStartIncluding": "0.3.0",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ],
          "operator": "AND"
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "Peter Ullrich"
        },
        {
          "lang": "en",
          "type": "reporter",
          "value": "Peter Ullrich"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Zach Daniel / Ash Project"
        },
        {
          "lang": "en",
          "type": "coordinator",
          "value": "Jonatan M\u00e4nnchen / EEF"
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eCleartext 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.\u003c/p\u003e\n\u003cp\u003e\u003ccode\u003esensitive_attributes :redact\u003c/code\u003e and \u003ccode\u003e:ignore\u003c/code\u003e only act on the tracked resource\u0027s top-level attributes. \u003ccode\u003emaybe_redact_changes/3\u003c/code\u003e and the stored-action-input path in \u003ccode\u003eAshPaperTrail.Resource.Changes.CreateNewVersion\u003c/code\u003e derive the sensitive set from the resource\u0027s 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 \u003ccode\u003esensitive?\u003c/code\u003e field (for example an accepted credentials embed carrying a token) is written to the version table in cleartext.\u003c/p\u003e\n\u003cp\u003eThis issue affects ash_paper_trail: from 0.3.0 before 0.7.0.\u003c/p\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "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\n`sensitive_attributes :redact` and `:ignore` only act on the tracked resource\u0027s 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\u0027s 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."
            }
          ],
          "value": "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\u0027s 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\u0027s 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."
        }
      ],
      "impacts": [
        {
          "capecId": "CAPEC-37",
          "descriptions": [
            {
              "lang": "en",
              "value": "CAPEC-37 Retrieve Embedded Sensitive Data"
            }
          ]
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "Automatable": "NOT_DEFINED",
            "Recovery": "NOT_DEFINED",
            "Safety": "NOT_DEFINED",
            "attackComplexity": "LOW",
            "attackRequirements": "PRESENT",
            "attackVector": "LOCAL",
            "baseScore": 5.9,
            "baseSeverity": "MEDIUM",
            "privilegesRequired": "NONE",
            "providerUrgency": "NOT_DEFINED",
            "subAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "NONE",
            "subIntegrityImpact": "NONE",
            "userInteraction": "NONE",
            "valueDensity": "NOT_DEFINED",
            "vectorString": "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",
            "version": "4.0",
            "vulnAvailabilityImpact": "NONE",
            "vulnConfidentialityImpact": "HIGH",
            "vulnIntegrityImpact": "NONE",
            "vulnerabilityResponseEffort": "NOT_DEFINED"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-312",
              "description": "CWE-312 Cleartext Storage of Sensitive Information",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-30T00:18:22.853Z",
        "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "shortName": "EEF"
      },
      "references": [
        {
          "tags": [
            "vendor-advisory",
            "related"
          ],
          "url": "https://github.com/ash-project/ash_paper_trail/security/advisories/GHSA-v645-6jm6-cgpj"
        },
        {
          "tags": [
            "related"
          ],
          "url": "https://cna.erlef.org/cves/CVE-2026-77970.html"
        },
        {
          "tags": [
            "related"
          ],
          "url": "https://osv.dev/vulnerability/EEF-CVE-2026-77970"
        },
        {
          "tags": [
            "patch"
          ],
          "url": "https://github.com/ash-project/ash_paper_trail/commit/0cd4acfe7f48397673d8594fb5e2cd0f1bda6e40"
        }
      ],
      "source": {
        "discovery": "EXTERNAL"
      },
      "title": "Sensitive fields nested in embedded values are not redacted in AshPaperTrail versions"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
    "assignerShortName": "EEF",
    "cveId": "CVE-2026-77970",
    "datePublished": "2026-08-30T00:18:22.853Z",
    "dateReserved": "2026-08-24T15:45:02.123Z",
    "dateUpdated": "2026-08-30T00:18:22.853Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…