Home / dgraph-io / dgraph / CVE-2023-31135
CVE-2023-31135: is it exploited, and which versions of dgraph-io dgraph are affected and fixed?
CVE-2023-31135 is a weak encryption vulnerability in dgraph-io dgraph. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:39 UTC). Affected: github.com/dgraph-io/dgraph before 23.0.0 (GitHub advisory GHSA-92wq-q9pq-gw47). Fixed in 23.0.0 (GitHub advisory GHSA-92wq-q9pq-gw47). Severity: Low (3.3, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 19, 2026, 07:13 UTC and NVD November 19, 2026, 07:39 UTC.
What is CVE-2023-31135?
Dgraph Audit Log Encryption nonce reuse
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`.
From the CVE record by GitHub_M, last updated January 22, 2025, 16:46 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| dgraph-io | dgraph | < 23.0.0 |
As the CVE record by GitHub_M states it, last updated January 22, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/dgraph-io/dgraph | < 23.0.0 | 23.0.0 | GHSA-92wq-q9pq-gw47 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 25, 2023. Summary: Dgraph Audit Log Encryption Vulnerability.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| dgraph | dgraph | before 23.0.0 | application |
NVD analysis (status Modified), last modified October 23, 2026, 23:10 UTC.
How severe is CVE-2023-31135?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 3.3 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N | GitHub_M |
| Medium 5.5 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-31135 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, January 22, 2025)
- EPSS
- 0.15% probability of exploitation activity in the next 30 days, percentile 4.7 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-326 Inadequate Encryption Strength
Where are the vendor advisories and references?
- https://github.com/dgraph-io/dgraph/security/advisories/GHSA-92wq-q9pq-gw47 x_refsource_CONFIRM
- https://github.com/dgraph-io/dgraph/pull/8323 x_refsource_MISC
- https://en.wikipedia.org/wiki/Cryptographic_nonce x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- April 24, 2023
- Published
- May 17, 2023, 17:04 UTC
- CVE record updated
- January 22, 2025, 16:46 UTC by GitHub_M
- NVD
- Modified, last modified October 23, 2026, 23:10 UTC
- Last checked
- CVE list November 19, 2026, 07:13 UTC; NVD November 19, 2026, 07:39 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect dgraph?
- Dec 2, 2026CVE-2026-142181 dgraph-io Dgraph: insertion of Sensitive Information Into Debugging Code
- Oct 14, 2026CVE-2026-102748 dgraph-io dgraph: missing authentication for a critical function
- Aug 6, 2026CVE-2026-63637 dgraph-io dgraph: improper Neutralization of Special Elements in Data Query Logic
- Jul 8, 2026CVE-2026-44840 dgraph-io dgraph: improper Neutralization of Special Elements in Data Query Logic
- Jul 8, 2026CVE-2026-54061 dgraph-io dgraph: missing authentication for a critical function
- Apr 24, 2026CVE-2026-41492 dgraph-io dgraph: information disclosure
- Apr 24, 2026CVE-2026-41327 dgraph-io dgraph: improper Neutralization of Special Elements in Data Query Logic
- Apr 24, 2026CVE-2026-41328 dgraph-io dgraph: improper Neutralization of Special Elements in Data Query Logic
Questions about CVE-2023-31135
Is CVE-2023-31135 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 0.15% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of dgraph-io dgraph are affected by CVE-2023-31135?
github.com/dgraph-io/dgraph before 23.0.0, per the GitHub advisory GHSA-92wq-q9pq-gw47. The tables above give every range the sources list.
Which version fixes CVE-2023-31135?
23.0.0, per the GitHub advisory GHSA-92wq-q9pq-gw47. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-31135?
Low (3.3, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2023-31135?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.