# CVE-2023-31135: Dgraph Audit Log Encryption Vulnerability

Source: https://junglewise.ai/threats/cve-2023-31135-dgraph-audit-log-encryption-vulnerability  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-05-17  
License: CC BY 4.0 with a link back

CVE-2023-31135 · Severity: low · CVSS 3.1 · Published 2023-05-17

Dgraph Audit Log Encryption Vulnerability

Technologies: [github.com/dgraph-io/dgraph (Go)](https://junglewise.ai/threats/technologies/github-com-dgraph-io-dgraph). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2023-31135 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2023-31135 being exploited in the wild.

**How severe is CVE-2023-31135?** Low severity, with a CVSS score of 3.1, published 17 May 2023.

**Which products and versions are affected?** github.com/dgraph-io/dgraph (Go) SEMVER:introduced=0,fixed=23.0.0.

**Is there a fix for CVE-2023-31135?** Yes. github.com/dgraph-io/dgraph (Go): upgrade to 23.0.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2023-31135?** Check whether you run github.com/dgraph-io/dgraph (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/dgraph-io/dgraph (Go): upgrade to 23.0.0 or later

  ```sh
  go get github.com/dgraph-io/dgraph@v23.0.0
  ```


## Affected products

- github.com/dgraph-io/dgraph (Go) SEMVER:introduced=0,fixed=23.0.0

## Identifiers

- CVE-2023-31135
- GHSA-92wq-q9pq-gw47

## Related threats

- [Dgraph Alpha missing authentication for external snapshot import](https://junglewise.ai/threats/cve-2026-54061-dgraph-alpha-missing-authentication-for-external-snapshot-import)
- [Dgraph DQL injection in checkUserPassword GraphQL query](https://junglewise.ai/threats/cve-2026-44840-dgraph-dql-injection-in-checkuserpassword-graphql-query)
- [GO-2026-5675 - Unauthenticated admin token disclosure via /debug/vars in github.com/dgraph-io/dgraph](https://junglewise.ai/threats/cve-2026-41492-dgraph-unauthenticated-admin-token-disclosure-leading-to)
- [GO-2026-5749 - DQL injection via unsanitized NQuad Lang field in github.com/dgraph-io/dgraph](https://junglewise.ai/threats/cve-2026-41328-dgraph-pre-auth-full-database-exfiltration-via-dql-injection-in)
- [GO-2026-5516 - Pre-Auth DQL injection in upsert condition field in github.com/dgraph-io/dgraph](https://junglewise.ai/threats/cve-2026-41327-dgraph-pre-auth-full-database-exfiltration-via-dql-injection-in)
