8.6high
Dgraph: DQL Injection via unvalidated regexp filter argument in GraphQL query rewriter
- Severity
- 8.6high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.32% (higher than 26% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
Dgraph is an open source distributed GraphQL database. Prior to 25.3.8, maybeQuoteArg in graphql/resolve/query_rewriter.go passes regexp filter strings into generated DQL without quoting or validating the /pattern/flags form, allowing crafted GraphQL query or mutation filters to inject DQL operators, disclose unintended nodes, or expand modification and deletion targets. This issue is fixed in version 25.3.8.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| dgraph-io dgraph | < 25.3.8 | CVE List |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
What each source says
CVE List
Dgraph is an open source distributed GraphQL database. Prior to 25.3.8, maybeQuoteArg in graphql/resolve/query_rewriter.go passes regexp filter strings into generated DQL without quoting or validating the /pattern/flags form, allowing crafted GraphQL query or mutation filters to inject DQL operators, disclose unintended nodes, or expand modification and deletion targets. This issue is fixed in version 25.3.8.
NVD (es)
Dgraph es una base de datos GraphQL distribuida de código abierto. Antes de la versión 25.3.8, maybeQuoteArg en graphql/resolve/query_rewriter.go pasa cadenas de filtro regexp a DQL generado sin entrecomillar o validar el formato /patrón/flags, permitiendo que filtros de consulta o mutación GraphQL manipulados inyecten operadores DQL, revelen nodos no deseados o expandan los objetivos de modificación y eliminación. Este problema se solucionó en la versión 25.3.8.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-63637 changed 2026-08-07 | CVE Terms of Use |
| NVD | CVE-2026-63637 changed 2026-10-24 | Public domain |