Home / dgraph-io / dgraph / CVE-2026-41328
CVE-2026-41328: is it exploited, and which versions of dgraph-io dgraph are affected and fixed?
CVE-2026-41328 is an improper Neutralization of Special Elements in Data Query Logic vulnerability in dgraph-io dgraph. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:38 UTC). Affected: github.com/dgraph-io/dgraph/v25 before 25.3.3, github.com/dgraph-io/dgraph/v24 through 24.1.8 and github.com/dgraph-io/dgraph through 1.2.8 (GitHub advisory GHSA-x92x-px7w-4gx4). Fixed in 25.3.3 (GitHub advisory GHSA-x92x-px7w-4gx4). Severity: Critical (9.1, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:38 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:11 UTC.
What is CVE-2026-41328?
Dgraph: Pre-Auth Full Database Exfiltration via DQL Injection in NQuad Lang Field
Dgraph is an open source distributed GraphQL database. Prior to 25.3.3, a vulnerability has been found in Dgraph that gives an unauthenticated attacker full read access to every piece of data in the database. This affects Dgraph's default configuration where ACL is not enabled. The attack requires two HTTP POSTs to port 8080. The first sets up a schema predicate with @unique @index(exact) @lang via /alter (also unauthenticated in default config). The second sends a crafted JSON mutation to /mutate?commitNow=true where a JSON key contains the predicate name followed by @ and a DQL injection payload in the language tag position. The injection exploits the addQueryIfUnique function in edgraph/server.go, which constructs DQL queries using fmt.Sprintf with unsanitized predicateName that includes the raw pred.Lang value. The Lang field is extracted from JSON mutation keys by x.PredicateLang(), which splits on @, and is never validated by any function in the codebase. The attacker injects a closing parenthesis to escape the eq() function, adds an arbitrary named query block, and uses a # comment to neutralize trailing template syntax. The injected query executes server-side and its results are returned in the HTTP response. This vulnerability is fixed in 25.3.3.
From the CVE record by GitHub_M, last updated April 24, 2026, 19:57 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| dgraph-io | dgraph | < 25.3.3 |
As the CVE record by GitHub_M states it, last updated April 24, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/dgraph-io/dgraph/v25 | < 25.3.3 | 25.3.3 | GHSA-x92x-px7w-4gx4 |
| Go | github.com/dgraph-io/dgraph/v24 | <= 24.1.8 | none listed | GHSA-x92x-px7w-4gx4 |
| Go | github.com/dgraph-io/dgraph | <= 1.2.8 | none listed | GHSA-x92x-px7w-4gx4 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 8, 2026. Summary: Dgraph: Pre-Auth Full Database Exfiltration via DQL Injection in NQuad Lang Field.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| dgraph | dgraph | before 25.3.3 | application |
NVD analysis (status Analyzed), last modified November 11, 2026, 23:10 UTC.
How severe is CVE-2026-41328?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-41328 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: total (CISA ADP, April 24, 2026)
- EPSS
- 0.43% probability of exploitation activity in the next 30 days, percentile 39.2 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-943 Improper Neutralization of Special Elements in Data Query Logic
Where are the vendor advisories and references?
- https://github.com/dgraph-io/dgraph/security/advisories/GHSA-x92x-px7w-4gx4 x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- April 20, 2026
- Published
- April 24, 2026, 18:25 UTC
- CVE record updated
- April 24, 2026, 19:57 UTC by GitHub_M
- NVD
- Analyzed, last modified November 11, 2026, 23:10 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:11 UTC; KEV December 3, 2026, 10:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect dgraph?
- Dec 2, 2026CVE-2026-142181 dgraph-io Dgraph: insertion of Sensitive Information Into Debugging Code
- Oct 14, 2026CVE-2026-102748 dgraph-io dgraph: missing authentication for a critical function
- Aug 6, 2026CVE-2026-63637 dgraph-io dgraph: improper Neutralization of Special Elements in Data Query Logic
- Jul 8, 2026CVE-2026-44840 dgraph-io dgraph: improper Neutralization of Special Elements in Data Query Logic
- Jul 8, 2026CVE-2026-54061 dgraph-io dgraph: missing authentication for a critical function
- Apr 24, 2026CVE-2026-41492 dgraph-io dgraph: information disclosure
- Apr 24, 2026CVE-2026-41327 dgraph-io dgraph: improper Neutralization of Special Elements in Data Query Logic
- Apr 15, 2026CVE-2026-40173 dgraph-io dgraph: information disclosure
Questions about CVE-2026-41328
Is CVE-2026-41328 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:38 UTC. FIRST's EPSS gives it a 0.43% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of dgraph-io dgraph are affected by CVE-2026-41328?
github.com/dgraph-io/dgraph/v25 before 25.3.3, github.com/dgraph-io/dgraph/v24 through 24.1.8 and github.com/dgraph-io/dgraph through 1.2.8, per the GitHub advisory GHSA-x92x-px7w-4gx4. The tables above give every range the sources list.
Which version fixes CVE-2026-41328?
25.3.3, per the GitHub advisory GHSA-x92x-px7w-4gx4. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-41328?
Critical (9.1, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-41328?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.