Read the docs
TI-2023-14845 Aliases CVE-2023-31135GHSA-92wq-q9pq-gw47

Dgraph Audit Log Encryption nonce reuse

Priority LOW 24CWE-326Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-326.

Summary

Dgraph is an open source distributed GraphQL database. Existing Dgraph audit logs are vulnerable to brute force attacks due to nonce collisions. The first 12 bytes come from a baseIv which is initialized when an audit log is created. The last 4 bytes come from the length of the log line being encrypted. This is problematic because two log lines will often have the same length, so due to these collisions we are reusing the same nonce many times. All audit logs generated by versions of Dgraph <v23.0.0 are affected. Attackers must have access to the system the logs are stored on. Dgraph users should upgrade to v23.0.0. Users unable to upgrade should store existing audit logs in a secure location and for extra security, encrypt using an external tool like `gpg`.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00153 4th percentileScored 2026-11-07
Fix Fixed dgraph (dgraph-io): 23.0.0github.com/dgraph-io/dgraph (Go): 23.0.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
dgraph-iodgraphbefore 23.0.023.0.0Patch availableCNA
—github.com/dgraph-io/dgraph (Go)before 23.0.023.0.0Patch availableGHSA-92wq-q9pq-gw47
  • dgraph Vendordgraph-io Affected before 23.0.0 Fixed in 23.0.0 Patch available CNA
  • github.com/dgraph-io/dgraph (Go) Vendor— Affected before 23.0.0 Fixed in 23.0.0 Patch available GHSA-92wq-q9pq-gw47

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:dgraph:dgraph:*:*:*:*:*:go:*:*before 23.0.0Vulnerabledgraph-io
  • cpe:2.3:a:dgraph:dgraph:*:*:*:*:*:go:*:* Versions before 23.0.0 Vulnerable ·dgraph-io

Remediation

  • Fix · CNA dgraph (dgraph-io) Fixed in 23.0.0
  • Fix · GHSA-92wq-q9pq-gw47 github.com/dgraph-io/dgraph (Go) Fixed in 23.0.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-31135
  2. 2026-10-03 Alias added: GHSA-92wq-q9pq-gw47

References

  • TI-2026-30079 Unauthenticated Admin Token Disclosure Leading to Authentication Bypass via /debug/vars in Dgraph CVSS 3.1CRITICAL 9.8
  • TI-2026-28987 Dgraph: Unauthenticated pprof endpoint leaks admin auth token CVSS 3.1CRITICAL 9.4
  • TI-2026-27198 Dgraph Affected by Pre-Auth Database Overwrite + SSRF + File Read via restoreTenant Missing Authorization CVSS 3.1CRITICAL 10.0
  • TI-2026-29929 Dgraph: Pre-Auth Full Database Exfiltration via DQL Injection in NQuad Lang Field CVSS 3.1CRITICAL 9.1
  • TI-2026-29928 Dgraph: Pre-Auth Full Database Exfiltration via DQL Injection in Upsert Condition Field CVSS 3.1CRITICAL 9.1

Sources