CVE-2026-45046 Gryph Agents Payload Filter Fails to Strip Tool Payload for Sensitive Content
Attackers with local access can read sensitive file content from logs due to improper filtering in the Gryph AI agent security library.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-45046?
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.
Official 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.
Weakness: CWE-212
Which versions are affected by CVE-2026-45046?
3 open source packages ship an affected version, including github.com/safedep/gryph.
| Package | Affected | Fixed in |
|---|---|---|
github.com/safedep/gryph Go | All versions | 0.7.0 |
github.com/safedep/gryph Go | All versions | 0.7.0 |
github.com/safedep/gryph Go | All versions | 0.7.0 |
How do I fix CVE-2026-45046?
Upgrade github.com/safedep/gryph to 0.7.0 or later.
Is CVE-2026-45046 being exploited?
There is no known exploitation of CVE-2026-45046 in the wild and no public exploit code.
Sources
Also known as GHSA-f3jg-756w-gm35, GO-2026-5345.