Skip to content
Heist/ feed
Back to feed
High

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

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-63637
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 11:02 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 6 Aug 2026, 20:20 UTC

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.

osv:CVE-2026-63637
Complete source record
{
  "id": "cdc44070b6eea1439965a95c528c3edb8d452791ae834eb9542c66d958a65bc1",
  "url": "https://osv.dev/vulnerability/CVE-2026-63637",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Dgraph: DQL Injection via unvalidated regexp filter argument in GraphQL query rewriter",
    "summary": "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.",
    "evidence": "osv:CVE-2026-63637",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-63637",
      "aliases": [
        "CVE-2026-63637",
        "GHSA-33p8-wc97-5qcj"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/dgraph-io/dgraph",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "59eefd193d32ab85751f236a112c0307f0d6b998"
                },
                {
                  "fixed": "aaff09ab9608f87d88e9d601e71d271306083392"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "25.3.8"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "aaff09ab9608f87d88e9d601e71d271306083392"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v25.3.7",
            "v25.3.6",
            "v25.3.5",
            "v25.3.4",
            "v25.3.3",
            "v25.3.2",
            "v25.3.1",
            "v25.3.0",
            "v25.2.0",
            "v25.1.0",
            "v25.1.0-preview1",
            "v25.0.0",
            "v25.0.0-preview6",
            "v25.0.0-preview5",
            "v25.0.0-preview4",
            "v25.0.0-preview3",
            "v25.0.0-preview2",
            "v25.0.0-preview1",
            "v24.0.2",
            "v24.0.2-rc1",
            "v24.0.1",
            "v24.0.0",
            "v24.0.0-rc1",
            "v23.1.0",
            "v24.0.0-alpha3",
            "v24.0.0-alpha2",
            "v24.0.0-alpha",
            "v23.1.0-rc1",
            "v23.1.0-rc2",
            "v23.0.1",
            "v22.0.2",
            "v23.0.0",
            "v23.0.0-rc1",
            "v23.0.0-beta1",
            "v22.0.0",
            "v22.0.0-RC1-20221003",
            "v21.03.2",
            "v21.03.1",
            "v21.03.0",
            "v20.11.0-rc1",
            "release/v20.11-rc1",
            "v1.0.8",
            "v1.0.9",
            "v2.0.0-rc1",
            "v2.0.0-beta1",
            "v1.2.0-rc1",
            "v1.1.1",
            "v1.1.1-rc2",
            "v1.1.1-rc1",
            "v1.1.0",
            "v1.1.0-rc3",
            "v1.1.0-rc2",
            "v1.0.12-rc3",
            "v1.0.12-rc2",
            "v1.0.12-rc1",
            "v1.0.11",
            "v1.0.11-rc4",
            "v1.0.11-rc3",
            "v1.0.11-rc2",
            "v1.0.10",
            "v1.0.11-rc1",
            "v1.0.10-rc1",
            "v1.0.9-rc5",
            "v1.0.9-rc4",
            "v1.0.9-rc3",
            "v1.0.9-rc2",
            "v1.0.9-rc1",
            "v1.0.8-rc2",
            "v1.0.8-rc1",
            "v1.0.7a",
            "v1.0.7",
            "v1.0.7-rc4",
            "v1.0.7-rc3",
            "v1.0.7-rc2",
            "nightly",
            "v1.0.5",
            "v1.0.4",
            "v1.0.3",
            "v1.0.2",
            "v1.0.1",
            "v1.0.0",
            "v0.9.4",
            "v0.9.0",
            "v0.8.3",
            "v0.8.1",
            "v0.8.0",
            "v0.4.2",
            "v0.4.1",
            "v0.4.0",
            "v0.3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-63637.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:50.542280427Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63637.json",
        "https://github.com/dgraph-io/dgraph/security/advisories/GHSA-33p8-wc97-5qcj",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-63637",
        "https://github.com/dgraph-io/dgraph/commit/aaff09ab9608f87d88e9d601e71d271306083392"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-943"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63637.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-63637",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 519070,
  "published_at": "2026-08-06T20:20:32.352+00:00"
}