Improper Neutralization of Special Elements in Data Query Logic Affecting github.com/dgraph-io/dgraph/v25/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.42% (35th 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-GITHUBCOMDGRAPHIODGRAPHV25EDGRAPH-16321042
  • published2 May 2026
  • disclosed24 Apr 2026
  • creditVladimirEliTokarev

Introduced: 24 Apr 2026

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

How to fix?

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

Overview

github.com/dgraph-io/dgraph/v25/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 addQueryIfUnique function. An attacker can gain unauthorized access to all database contents by sending crafted HTTP POST requests that inject malicious payloads into the language tag position of a JSON mutation key, exploiting unsanitized input handling in DQL query construction. This is only exploitable if access control lists (ACL) are not enabled in the configuration.

CVSS Base Scores

version 4.0
version 3.1