CVE-2026-63637

Dgraph: DQL Injection via unvalidated regexp filter argument in GraphQL query rewriter

State
Published
Severity
8.6 High
Published
Aug 6, 2026
Updated
Aug 7, 2026
Reserved
Jul 17, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.6 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:LGitHub_M

Weaknesses

  • CWE-943 Improper Neutralization of Special Elements in Data Query Logic

Affected Products

ProductVersions
dgraphdgraph-io
  • < 25.3.8Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.