{"answers":{"affected":"3 open source packages ship an affected version, including github.com/safedep/gryph.","exploited":"There is no known exploitation of CVE-2026-45046 in the wild and no public exploit code.","fix":"Upgrade github.com/safedep/gryph to 0.7.0 or later.","what":"CVE-2026-45046 is a medium-severity vulnerability in safedep gryph, published on 27 May 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-45046 and fix it if it is affected.\n\nWhat it is: CVE-2026-45046 is a medium-severity vulnerability in safedep gryph, published on 27 May 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-45046 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/safedep/gryph (Go): affected all versions; fixed in 0.7.0\n- github.com/safedep/gryph (Go): affected all versions; fixed in 0.7.0\n- github.com/safedep/gryph (Go): affected all versions; fixed in 0.7.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-45046/ (Markdown: https://insights.sbomify.com/CVE-2026-45046/index.md)","id":"CVE-2026-45046","markdown":"https://insights.sbomify.com/CVE-2026-45046/index.md","name":"CVE-2026-45046","record":{"aliases":["GHSA-f3jg-756w-gm35","GO-2026-5345"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"AI agent security library","requires_auth":"low_privilege","summary":"Attackers with local access can read sensitive file content from logs due to improper filtering in the Gryph AI agent security library.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":5.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-212","name":"Improper Removal of Sensitive Information Before Storage or Transfer"}],"description":"Gryph provides a security layer for AI coding agents. Prior to 0.7.0, 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. This vulnerability is fixed in 0.7.0.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Gryph Agents Payload Filter Fails to Strip Tool Payload for Sensitive Content","id":"CVE-2026-45046","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"information_disclosure","year":"2026"},"n_packages":3,"n_references":1,"next":{"headline":"bird-lg-go: Fatal Out-of-Memory (OOM) Denial of Service via Unbounded JSON Decoding","id":"CVE-2026-45047"},"packages":[{"ecosystem":"Go","fixed":["0.7.0"],"introduced":["0"],"last_affected":[],"package":"github.com/safedep/gryph","purl":null,"source":"GHSA-f3jg-756w-gm35"},{"ecosystem":"Go","fixed":["0.7.0"],"introduced":["0"],"last_affected":[],"package":"github.com/safedep/gryph","purl":"pkg:golang/github.com/safedep/gryph","source":"GHSA-f3jg-756w-gm35"},{"ecosystem":"Go","fixed":["0.7.0"],"introduced":["0"],"last_affected":[],"package":"github.com/safedep/gryph","purl":"pkg:golang/github.com/safedep/gryph","source":"GO-2026-5345"}],"prev":{"headline":"Fiber: X-Real-IP Spoofing via Header.Add() in BalancerForward","id":"CVE-2026-45045"},"products":["gryph"],"published":"2026-05-27","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-05-27","vendors":["safedep"]},"summary":"Attackers with local access can read sensitive file content from logs due to improper filtering in the Gryph AI agent security library.","url":"https://insights.sbomify.com/CVE-2026-45046/"}