CVE-2026-63637 Dgraph: DQL Injection via unvalidated regexp filter argument in GraphQL query rewriter
Attackers can inject DQL operators via unvalidated regexp filters in GraphQL queries, leading to unauthorized data disclosure or modification in Dgraph databases.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-63637?
CVE-2026-63637 is a high-severity code injection vulnerability in dgraph-io dgraph, published on 6 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
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.
Weakness: CWE-943
Which versions are affected by CVE-2026-63637?
How do I fix CVE-2026-63637?
No fix has been published for CVE-2026-63637 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2026-63637 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-63637 exists.
Sources
Also known as GHSA-33p8-wc97-5qcj.