Data Exposure Vulnerability in Dgraph Open Source Database
CVE-2026-41327
What is CVE-2026-41327?
A significant vulnerability exists in Dgraph, an open-source distributed GraphQL database, where an unauthenticated attacker can gain unrestricted read access to all data. This issue arises from the default configuration lacking access control lists (ACL). An attacker must send a specially crafted HTTP POST request to the /mutate endpoint with a malicious cond field in an upsert mutation. The vulnerability stems from inadequate handling of the cond parameter, which is directly concatenated into a DQL query string. This critical oversight allows an attacker to inject additional DQL query blocks, leading to unauthorized data exposure. This issue has been resolved in Dgraph version 25.3.3, highlighting the importance of upgrading to secure configurations.
Affected Version(s)
dgraph < 25.3.3
