← Vulnerability feed

Vulnerability record · CVE-2023-31135 · published 17 May 2023

CVE-2023-31135: Dgraph inadequate encryption strength vulnerability

Dgraph · Dgraph

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`.

5.5 CVSS 3.1 Medium EPSS 0.15% · top 96.2% CWE-326 · Inadequate encryption strength
5.5CVSS 3.1 base score
0.15%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
6References
17 Jun 2026Last modified by NVD

Description

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`.

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2023-31135 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2026-34976Dgraph missing authorization vulnerabilityDgraph is an open source distributed GraphQL database. Prior to 25.3.1, the restoreTenant admin mutation is missing from the authorization middleware…EPSS 1.7%9.8CVE-2026-41492Dgraph information exposure vulnerabilityDgraph is an open source distributed GraphQL database. Prior to 25.3.3, Dgraphl exposes the process command line through the unauthenticated /debug/v…EPSS 2.5%9.4CVE-2026-40173Dgraph information exposure vulnerabilityDgraph is an open source distributed GraphQL database. Versions 25.3.1 and prior contain an unauthenticated credential disclosure vulnerability where…EPSS 0.60%9.1CVE-2026-41327Dgraph vulnerabilityDgraph is an open source distributed GraphQL database. Prior to 25.3.3, a vulnerability has been found in Dgraph that gives an unauthenticated attack…EPSS 0.48%9.1CVE-2026-41328Dgraph vulnerabilityDgraph is an open source distributed GraphQL database. Prior to 25.3.3, a vulnerability has been found in Dgraph that gives an unauthenticated attack…EPSS 0.48%9.8CVE-2017-11317Telerik UI for ASP.NET AJAX weak encryption enables arbitrary file uploadTelerik.Web.UI in Progress Telerik UI for ASP.NET AJAX before R1 2017 and R2 before R2 2017 SP2 uses weak RadAsyncUpload encryption. Because the encr…KEVEPSS 84%analysed9.8CVE-2017-1000486PrimeFaces weak encryption flaw leads to remote code executionPrimeFaces 5.x uses inadequate encryption strength (CWE-326), which allows an unauthenticated remote attacker to reach code execution. The flaw is ra…KEVEPSS 94%analysed7.5CVE-2018-18325DNN (DotNetNuke) weak encryption of input parametersDNN (DotNetNuke) versions 9.2 through 9.2.2 use a weak encryption algorithm to protect input parameters, and the issue persists because the fix for C…KEVEPSS 74%analysed

Source: NIST National Vulnerability Database (record CVE-2023-31135), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.