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.
Published: 2026-08-06
Score: 8.6 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

An unvalidated regexp filter argument in the GraphQL query rewriter passes raw regular expression strings directly into generated DQL. This flaw permits attackers to inject additional DQL operators, potentially causing unintended data disclosure or expanding the scope of data modifications or deletions performed by a GraphQL query or mutation. The injection mechanism enables a client to retrieve or alter data that should not be accessible through normal filters, thereby compromising confidentiality and integrity.

Affected Systems

The vulnerability affects the open source distributed GraphQL database dgraph-io dgraph in all releases before version 25.3.8. The issue is fixed in 25.3.8 and subsequent releases.

Risk and Exploitability

The CVSS score of 8.6 classifies the fault as high severity, and the absence of an EPSS rating indicates no publicly known exploit trend at the time of analysis. The vulnerability is not listed in the CISA KEV catalog. By exploiting the exposed GraphQL endpoint, an attacker could craft a malicious query or mutation that includes a crafted regular expression filter, thereby injecting arbitrary DQL operators. The attack vector is inferred to be through any publicly or privately accessible GraphQL endpoint that accepts unvalidated filter arguments.

Generated by OpenCVE AI on August 7, 2026 at 00:30 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade dgraph to version 25.3.8 or later
  • If upgrading immediately is not feasible, restrict access to the GraphQL API to trusted hosts or networks to limit exposure to the vulnerability
  • Validate or sanitize regular expression filter arguments on the client or server side to ensure that only allowed patterns are accepted

Generated by OpenCVE AI on August 7, 2026 at 00:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 07 Aug 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 07 Aug 2026 09:15:00 +0000

Type Values Removed Values Added
First Time appeared Dgraph
Dgraph dgraph
Vendors & Products Dgraph
Dgraph dgraph

Thu, 06 Aug 2026 22:15:00 +0000

Type Values Removed Values Added
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.
Title Dgraph: DQL Injection via unvalidated regexp filter argument in GraphQL query rewriter
Weaknesses CWE-943
References
Metrics cvssV3_1

{'score': 8.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-07T16:54:23.924Z

Reserved: 2026-07-17T14:11:15.482Z

Link: CVE-2026-63637

cve-icon Vulnrichment

Updated: 2026-08-07T16:54:16.701Z

cve-icon NVD

Status : Received

Published: 2026-08-06T22:18:12.330

Modified: 2026-08-07T17:17:05.500

Link: CVE-2026-63637

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-07T09:00:05Z

Weaknesses
  • CWE-943

    Improper Neutralization of Special Elements in Data Query Logic