CVE-2026-77970 (GCVE-0-2026-77970)

Vulnerability from cvelistv5 – Published: 2026-08-30 00:18 – Updated: 2026-08-30 00:18
VLAI
Title
Sensitive fields nested in embedded values are not redacted in AshPaperTrail versions
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.
CWE
  • CWE-312 - Cleartext Storage of Sensitive Information
Assigner
Impacted products
Vendor Product Version CPE status
ash-project ash_paper_trail Affected: 0.3.0 , < 0.7.0 (semver)
    cpe:2.3:a:ash-project:ash_paper_trail:*:*:*:*:*:*:*:*
Create a notification for this product.
ash-project ash_paper_trail Affected: ffe5e03b14d26b73bff17f3eca811591788aba9c , < 0cd4acfe7f48397673d8594fb5e2cd0f1bda6e40 (git)
    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",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-77970",
      "date": "2026-08-30",
      "epss": "0.00097",
      "percentile": "0.00828"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-77970\",\"sourceIdentifier\":\"6b3ad84c-e1a6-4bf7-a703-f496b71e49db\",\"published\":\"2026-08-30T01:20:29.773\",\"lastModified\":\"2026-08-30T01:20:29.773\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"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.\"}],\"affected\":[{\"source\":\"6b3ad84c-e1a6-4bf7-a703-f496b71e49db\",\"affectedData\":[{\"vendor\":\"ash-project\",\"product\":\"ash_paper_trail\",\"defaultStatus\":\"unaffected\",\"collectionURL\":\"https://repo.hex.pm\",\"packageName\":\"ash_paper_trail\",\"cpes\":[\"cpe:2.3:a:ash-project:ash_paper_trail:*:*:*:*:*:*:*:*\"],\"modules\":[\"\u0027Elixir.AshPaperTrail.Resource.Changes.CreateNewVersion\u0027\"],\"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\",\"packageURL\":\"pkg:hex/ash_paper_trail\",\"versions\":[{\"version\":\"0.3.0\",\"lessThan\":\"0.7.0\",\"versionType\":\"semver\",\"status\":\"affected\"}]},{\"vendor\":\"ash-project\",\"product\":\"ash_paper_trail\",\"defaultStatus\":\"unaffected\",\"collectionURL\":\"https://github.com\",\"packageName\":\"ash-project/ash_paper_trail\",\"cpes\":[\"cpe:2.3:a:ash-project:ash_paper_trail:*:*:*:*:*:*:*:*\"],\"modules\":[\"\u0027Elixir.AshPaperTrail.Resource.Changes.CreateNewVersion\u0027\"],\"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\",\"packageURL\":\"pkg:github/ash-project/ash_paper_trail\",\"versions\":[{\"version\":\"ffe5e03b14d26b73bff17f3eca811591788aba9c\",\"lessThan\":\"0cd4acfe7f48397673d8594fb5e2cd0f1bda6e40\",\"versionType\":\"git\",\"status\":\"affected\"}]}]}],\"metrics\":{\"cvssMetricV40\":[{\"source\":\"6b3ad84c-e1a6-4bf7-a703-f496b71e49db\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"4.0\",\"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X\",\"baseScore\":5.9,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"attackRequirements\":\"PRESENT\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"vulnConfidentialityImpact\":\"HIGH\",\"vulnIntegrityImpact\":\"NONE\",\"vulnAvailabilityImpact\":\"NONE\",\"subConfidentialityImpact\":\"NONE\",\"subIntegrityImpact\":\"NONE\",\"subAvailabilityImpact\":\"NONE\",\"exploitMaturity\":\"NOT_DEFINED\",\"confidentialityRequirement\":\"NOT_DEFINED\",\"integrityRequirement\":\"NOT_DEFINED\",\"availabilityRequirement\":\"NOT_DEFINED\",\"modifiedAttackVector\":\"NOT_DEFINED\",\"modifiedAttackComplexity\":\"NOT_DEFINED\",\"modifiedAttackRequirements\":\"NOT_DEFINED\",\"modifiedPrivilegesRequired\":\"NOT_DEFINED\",\"modifiedUserInteraction\":\"NOT_DEFINED\",\"modifiedVulnConfidentialityImpact\":\"NOT_DEFINED\",\"modifiedVulnIntegrityImpact\":\"NOT_DEFINED\",\"modifiedVulnAvailabilityImpact\":\"NOT_DEFINED\",\"modifiedSubConfidentialityImpact\":\"NOT_DEFINED\",\"modifiedSubIntegrityImpact\":\"NOT_DEFINED\",\"modifiedSubAvailabilityImpact\":\"NOT_DEFINED\",\"Safety\":\"NOT_DEFINED\",\"Automatable\":\"NOT_DEFINED\",\"Recovery\":\"NOT_DEFINED\",\"valueDensity\":\"NOT_DEFINED\",\"vulnerabilityResponseEffort\":\"NOT_DEFINED\",\"providerUrgency\":\"NOT_DEFINED\"}}]},\"weaknesses\":[{\"source\":\"6b3ad84c-e1a6-4bf7-a703-f496b71e49db\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-312\"}]}],\"references\":[{\"url\":\"https://cna.erlef.org/cves/CVE-2026-77970.html\",\"source\":\"6b3ad84c-e1a6-4bf7-a703-f496b71e49db\"},{\"url\":\"https://github.com/ash-project/ash_paper_trail/commit/0cd4acfe7f48397673d8594fb5e2cd0f1bda6e40\",\"source\":\"6b3ad84c-e1a6-4bf7-a703-f496b71e49db\"},{\"url\":\"https://github.com/ash-project/ash_paper_trail/security/advisories/GHSA-v645-6jm6-cgpj\",\"source\":\"6b3ad84c-e1a6-4bf7-a703-f496b71e49db\"},{\"url\":\"https://osv.dev/vulnerability/EEF-CVE-2026-77970\",\"source\":\"6b3ad84c-e1a6-4bf7-a703-f496b71e49db\"}]}}"
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…