Summary
CVE-2026-63637 is a DQL injection vulnerability in Dgraph, an open-source distributed GraphQL database. The GraphQL query rewriter fails to sanitize regexp filter arguments before converting them into DQL, allowing an unauthenticated network attacker to inject DQL operators and bypass intended filters. It carries a CVSS v3.1 base score of 8.6 (High).
Technical details
- Root cause: The
maybeQuoteArgfunction in the GraphQL query rewriter (graphql/resolve/query_rewriter.go) skips escaping forregexpfilters, returning attacker-supplied input unquoted so it flows directly into the generated DQL string. - Trigger conditions: Crafted GraphQL queries or mutations that supply a malicious value to a
regexpfilter argument, closing the regex literal and appending arbitrary DQL logic. - Attack vector: Network, low complexity, no privileges and no user interaction required.
- Impact: Disclosure of unintended nodes by bypassing intended filters, and expansion of the targets of modification and deletion operations. Rated high confidentiality impact with low integrity and availability impact.
Affected software
- Dgraph versions prior to 25.3.8 (v25.3.7 and earlier).
Severity
- CVSS v3.1 base score: 8.6 (High)
- Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
Mitigation and recommended actions
- Immediate: Upgrade to Dgraph 25.3.8 or later, which fixes the flaw.
- If no patch can be applied: Restrict network access to the Dgraph GraphQL endpoint, and validate or reject
regexpfilter values that contain unescaped closing delimiters or DQL operators before they reach the database.
How IONIX identifies potentially affected assets
IONIX matches the following signals against data already collected when it crawled the asset; identifying the technology sends no request beyond that crawl.
- Page title:
Dgraph Ratel,Ratel,Ratel - Dgraph

