漏洞描述
Dgraph v25 before 25.3.3 and v24 before 24.1.8 concatenate the cond field of upsert mutations sent to /mutate into generated DQL without structural validation. When ACL is disabled, as in the default configuration, an unauthenticated attacker can append a query block and read database content through the mutation response.
影响产品
修复建议
建议关注厂商安全公告,及时升级至已修复版本,并结合实际资产暴露情况采取缓解措施。
参考链接
github.comhttps://github.com/dgraph-io/dgraph/security/advisories/GHSA-mrxx-39g5-ph77↗github.comhttps://github.com/dgraph-io/dgraph/commit/55e3b79817e87512297695f7dccae86130d0c81e↗github.comhttps://github.com/dgraph-io/dgraph/releases/tag/v25.3.3↗nvd.nist.govhttps://nvd.nist.gov/vuln/detail/CVE-2026-41327↗