Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-41328

DQL injection via unsanitized NQuad Lang field in github.com/dgraph-io/dgraph
Back to all
CVE

CVE-2026-41328

DQL injection via unsanitized NQuad Lang field in github.com/dgraph-io/dgraph

A vulnerability in Dgraph allows an unauthenticated attacker full read access to data in the database when ACL is not enabled.

The injection exploits the addQueryIfUnique function, which constructs DQL queries using fmt.Sprintf with an unsanitized predicate name that includes the raw Lang value from a JSON mutation key. An attacker can escape the function and inject arbitrary named query blocks, which execute server-side and return results in the HTTP response.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
9.1
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
C
H
U
0
-
C
H
U
9.1
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Related Resources

No items found.

References

https://github.com/dgraph-io/dgraph/security/advisories/GHSA-x92x-px7w-4gx4

Severity

9.1

CVSS Score
0
10

Basic Information

Base CVSS
9.1
EPSS Probability
0.00415%
EPSS Percentile
0.34875%
Introduced Version
0,v25.1.0-preview1,v25.0.0-20251125204325-8c2875fa3375,v25.0.0-preview1,v25.0.0-custom-qt-improv-1,v25.0.0-20250418040326-e01eebdf7962,v24.1.0-rc4,v24.0.0-20250107172524-171af7c47a00,v24.0.0-alpha,v24.0.6-test1,v24.0.0-20240823084746-993353cf57e7,v0.0.0-20230828125852-92c5b7a78c1b,v1.1.1-rc1,v0.0.0-20191121162637-c23fdce4d8e7
Fix Available
25.3.3,24.1.9,v25.3.3,v25.0.0-20260421195045-55e3b79817e8

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading