> CVE-2026-41328 [CRITICAL]

« BACK_TO_HOME
PUBLISHED
2026-04-24 19:17
MODIFIED
2026-04-24 19:17
CVSS_SCORE V3
9.1
EPSS (Prob. Exploit)
0.48%
Top 59.5%
DATA SOURCES:
NVD đź”— 2026-04-24 CWE MITRE đź”— 2026-11-01 FIRST EPSS đź”— 2026-10-25 GITHUB đź”— 2026-10-29

> DESCRIPTION

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.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EXPLOITABILITY
3.9
IMPACT
5.2

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
None
Aucune interruption de service

> WEAKNESSES

CWE-943

> CWE DETAILED DESCRIPTIONS

CWE-943: Improper Neutralization of Special Elements in Data Query Logic - The product generates a query intended to access or manipulate data in a data store such as a database, but it does not neutralize or incorrectly neutralizes special elements that can modify the intended logic of the query.

> GITHUB SECURITY ADVISORY

GHSA-x92x-px7w-4gx4 CRITICAL

Dgraph: Pre-Auth Full Database Exfiltration via DQL Injection in NQuad Lang Field

AFFECTED PACKAGES:
GO / github.com/dgraph-io/dgraph
<= 1.2.8
GO / github.com/dgraph-io/dgraph/v24
<= 24.1.8
GO / github.com/dgraph-io/dgraph/v25
< 25.3.3
Fixed in: 25.3.3

> HISTORIQUE DES MODIFICATIONS

Première apparition
24/04/2026 19:17
Source: NVD
📊 ENRICHISSEMENT 01/05/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-943: Improper Neutralization of Special Elements in Data Query Logic - The product generates a query intended to access or manipulate data in a data store such as a database, but it does not neutr...
Total des modifications: 1 Dernière mise à jour: 6 months ago

> REFERENCES

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