Improper Neutralization of Special Elements in Data Query Logic Affecting github.com/dgraph-io/dgraph/edgraph package, versions <25.3.3


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.49% (40th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMDGRAPHIODGRAPHEDGRAPH-16321043
  • published29 Apr 2026
  • disclosed24 Apr 2026
  • creditVladimirEliTokarev

Introduced: 24 Apr 2026

CVE-2026-41327  (opens in a new tab)
CWE-943  (opens in a new tab)

How to fix?

Upgrade github.com/dgraph-io/dgraph/edgraph to version 25.3.3 or higher.

Overview

github.com/dgraph-io/dgraph/edgraph is a Dgraph is a horizontally scalable and distributed GraphQL database with a graph backend.

Affected versions of this package are vulnerable to Improper Neutralization of Special Elements in Data Query Logic via the cond field in an upsert mutation. An attacker can gain unauthorized access to all database contents by injecting a crafted DQL query block into the cond string, which is then executed server-side and returned in the HTTP response. This is only exploitable if the default configuration is used and ACL is not enabled.

CVSS Base Scores

version 4.0
version 3.1