Vulnerability · Published Aug 6, 2026 · Assigned by GitHub_M

CVE-2026-63637Dgraph: DQL Injection via unvalidated regexp filter argument in GraphQL query rewriter

High 8.6

In plain English

A high-severity security flaw in dgraph from dgraph-io. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 35% of all known vulnerabilities).

Severity (CVSS 3.1)8.6High
Exploit odds (30 days)0.4%top 64.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 products (as reported)

VendorProductVersions
dgraph-io dgraph < 25.3.8

Weakness: CWE-943 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L

References