CVE-2026-45046: Github.com/safedep/gryph Gryph Agents Payload Filter Fails Vulnerability

MODERATE
Advisory Identifier: GHSA-f3jg-756w-gm35
CVSS 5.5
CWE-212
Published
Advisory Summary

CVE-2026-45046 is a MODERATE (CVSS 5.5) gryph agents payload filter fails vulnerability (CWE-212: Improper Removal of Sensitive Information Before Storage or Transfer) affecting Github.com/safedep/gryph libraries in the Go ecosystem. The issue involves gryph agents payload filter fails to strip tool payload for sensitive content. Remediation is available by upgrading affected packages to version 0.7.0.

CVE-2026-45046 at a Glance

CVE Identifier CVE-2026-45046
GHSA Identifier GHSA-f3jg-756w-gm35
Severity MODERATE
CVSS v3.1 Base Score 5.5
CWE Classification CWE-212: Improper Removal of Sensitive Information Before Storage or Transfer
Affected Product Github.com/safedep/gryph
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 5.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N).

Attack Vector Local (AV:L)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2026-45046

To remediate this vulnerability, upgrade all affected Github.com/safedep/gryph dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/safedep/gryph fixed: 0.7.0
Upgrade github.com/safedep/gryph to 0.7.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/safedep/gryph

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-45046, inspect your project dependencies for Github.com/safedep/gryph:

inspect dependencies for github.com/safedep/gryph

Analyze the terminal output to locate any version of Github.com/safedep/gryph in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.7.0), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-212: Improper Removal of Sensitive Information Before Storage or Transfer, where the product stores, transfers, or shares a resource that contains sensitive information, but it does not properly remove that information before the product makes the resource available to unauthorized actors. In Github.com/safedep/gryph, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Gryph implements logging levels that determine what content is logged to a local sqlite database. The README incorrectly mentions that the default log level is minimal while it is standard. Source code review shows sensitive `file-write` content remains in the stored `payload` as `ContentPreview`, `OldString`, or `NewString` at the default `standard` logging level and at `full`. This leads to logging of potentially sensitive file content in the local sqlite database, violating Gryphs sensitive file filter and log level contracts. ### Impact Potentially sensitive data accessed or written by coding agents may be logged to local sqlite database. Users of Gryph are affected ONLY if their local sqlite database is stolen or exported to remote system with the assumption that no sensitive data is logged. ### Patches Fixed in v0.7.0

CVE-2026-45046 Affected Github.com/safedep/gryph Versions

1 component(s)
Fixed Versions:
0.7.0
Product / Package Ecosystem Affected Versions Fixed Version
github.com/safedep/gryph
Go
< 0.7.0
0.7.0

References

Frequently Asked Questions

What is CVE-2026-45046?
CVE-2026-45046 is a security vulnerability in Github.com/safedep/gryph involving Gryph Agents Payload Filter Fails to Strip Tool Payload for Sensitive Content under CWE-212: Improper Removal of Sensitive Information Before Storage or Transfer.
Which Github.com/safedep/gryph versions are affected?
Affected versions include releases prior to 0.7.0 across affected packages: github.com/safedep/gryph.
What version fixes CVE-2026-45046?
Upgrading to 0.7.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/safedep/gryph affected?
Yes, github.com/safedep/gryph is affected in releases prior to 0.7.0. Upgrade your dependency to 0.7.0 or later.
What is the CVSS score of CVE-2026-45046?
CVE-2026-45046 has a CVSS v3.1 base score of 5.5 (MODERATE) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2026-45046?
CVE-2026-45046 is classified under CWE-212: Improper Removal of Sensitive Information Before Storage or Transfer (The product stores, transfers, or shares a resource that contains sensitive information, but it does not properly remove that information before the product makes the resource available to unauthorized actors.).
How can I check Go dependencies for CVE-2026-45046?
Run the dependency tree command: 'inspect dependencies for github.com/safedep/gryph'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-f3jg-756w-gm35",
  "modified" : "2026-06-08T23:53:33Z",
  "published" : "2026-05-11T21:20:04Z",
  "aliases" : [ "CVE-2026-45046" ],
  "summary" : "Gryph Agents Payload Filter Fails to Strip Tool Payload for Sensitive Content",
  "details" : "Gryph implements logging levels that determine what content is logged to a local sqlite database. The README incorrectly mentions that the default log level is minimal while it is standard.  Source code review shows sensitive `file-write` content remains in the stored `payload` as `ContentPreview`, `OldString`, or `NewString` at the default `standard` logging level and at `full`. This leads to logging of potentially sensitive file content in the local sqlite database, violating Gryphs sensitive file filter and log level contracts. \n\n### Impact\n\nPotentially sensitive data accessed or written by coding agents may be logged to local sqlite database. Users of Gryph are affected ONLY if their local sqlite database is stolen or exported to remote system with the assumption that no sensitive data is logged.\n\n### Patches\n\nFixed in v0.7.0",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/safedep/gryph"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.7.0"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 0.6.0"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/safedep/gryph/security/advisories/GHSA-f3jg-756w-gm35"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-45046"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/safedep/gryph"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/safedep/gryph/releases/tag/v0.7.0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-212" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-05-11T21:20:04Z",
    "nvd_published_at" : "2026-05-27T19:16:21Z"
  }
}