CVE-2026-45046
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedGryph 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceGryph, a security layer for AI coding agents, incorrectly logs sensitive file-write content (ContentPreview, OldString, NewString) to a local sqlite database even when using the 'standard' or 'full' logging levels. The README documentation incorrectly states the default log level is 'minimal' when it is actually 'standard', compounding the issue by misleading users about what gets logged.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Local
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify Gryph versionRun 'gryph --version' or check the installed package version via your package manager (npm, pip, etc.)Affected if Version is below 0.7.0
-
Locate the sqlite logging databaseFind the Gryph data directory or configured log storage path; look for a .db or .sqlite file used for loggingAffected if Database file exists and contains logging tables
-
Check for sensitive columns in log tablesInspect the database schema (e.g., using 'sqlite3 <database> .schema') and query for columns named ContentPreview, OldString, or NewStringAffected if These columns exist in the logging schema
-
Verify logged content includes sensitive file-write dataQuery the log tables (e.g., SELECT * FROM logs) and examine rows for non-null ContentPreview, OldString, or NewString valuesAffected if Any rows contain populated sensitive file content in these fields
-
Confirm log level configurationCheck Gryph config files or run 'gryph config' to see the current logging level setting; verify whether README states 'minimal' as default while actual default is 'standard'Affected if Log level is set to 'standard' or 'full' (the default) and sensitive data is present in the database
If Gryph version is below 0.7.0 and the sqlite database contains rows with populated ContentPreview, OldString, or NewString fields, the environment is affected by this CVE.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade to Gryph 0.7.0 which fixes the logging logic to properly filter sensitive file content. Review existing logs for inadvertently stored sensitive data and rotate any exposed credentials.
0.7.0
- Upgrade Gryph to version 0.7.0 or later to resolve the sensitive content logging vulnerability
- Verify that the log level configuration matches the intended security policy after upgrade
- Review existing sqlite database logs to determine if sensitive file content was inadvertently stored
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation8.0 h
- Testing4.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $5,120.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-45046 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-45046 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data