{
  "id": "CVE-2026-44840",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-44840",
  "published_at": "2026-07-08T13:27:44.178Z",
  "title": "Dgraph Vulnerable to DQL Injection via checkUserPassword GraphQL Query",
  "vendor": "dgraph-io",
  "product": "dgraph",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-09-17T03:07:34Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 70.6,
    "repo": "isaca0315/CVE-2026-44840-poc",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Dgraph is an open source distributed GraphQL database. Prior to version 25.3.4, the `checkUserPassword` GraphQL query in Dgraph is vulnerable to DQL (Dgraph Query Language) injection. User-supplied password values are interpolated directly into a DQL `checkpwd()` query via `fmt.Sprintf` without any escaping or parameterization. An attacker can inject a password containing a double-quote character to break out of the DQL string literal and append arbitrary DQL query blocks. Version 25.3.4 patches the issue.",
  "cwe": "CWE-943",
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [
    {
      "repo": "isaca0315/CVE-2026-44840-poc",
      "url": "https://github.com/isaca0315/CVE-2026-44840-poc",
      "created_at": "2026-09-17T03:07:34Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2017-08-28T14:20:54Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "dgraph-io",
        "product": "dgraph",
        "ranges": [
          "\u003c 25.3.4"
        ],
        "fixed_in": [
          "25.3.4"
        ]
      }
    ],
    "upgrade": [
      "Upgrade dgraph to 25.3.4 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/dgraph-io/dgraph/security/advisories/GHSA-q2m9-6jp9-c6mc"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/dgraph-io/dgraph/commit/cee702c93f141eeb0c96a81f70830ec9e459efac"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/dgraph-io/dgraph/releases/tag/v25.3.4"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [
    {
      "method": "POST",
      "path_template": "/graphql",
      "body_markers": [
        "\"query\"",
        "\"variables\"",
        "\"p\"",
        "\"p\":\"password-incorrecta\"",
        "\"p\":\"Sup3rS3cret!\""
      ],
      "content_type": "application/json",
      "ports": [
        8180,
        8280
      ],
      "protocol": "http",
      "repos": [
        "isaca0315/CVE-2026-44840-poc"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "isaca0315/CVE-2026-44840-poc/REDTEAM.md:104",
        "isaca0315/CVE-2026-44840-poc/REDTEAM.md:112",
        "isaca0315/CVE-2026-44840-poc/REDTEAM.md:129",
        "isaca0315/CVE-2026-44840-poc/REDTEAM.md:156",
        "isaca0315/CVE-2026-44840-poc/REDTEAM.md:172",
        "isaca0315/CVE-2026-44840-poc/REDTEAM.md:180",
        "isaca0315/CVE-2026-44840-poc/REDTEAM.md:217",
        "isaca0315/CVE-2026-44840-poc/REDTEAM.md:269",
        "isaca0315/CVE-2026-44840-poc/REDTEAM.md:279",
        "isaca0315/CVE-2026-44840-poc/REDTEAM.md:304",
        "isaca0315/CVE-2026-44840-poc/REDTEAM.md:317",
        "isaca0315/CVE-2026-44840-poc/REDTEAM.md:351",
        "isaca0315/CVE-2026-44840-poc/REDTEAM.md:372",
        "isaca0315/CVE-2026-44840-poc/REDTEAM.md:376",
        "isaca0315/CVE-2026-44840-poc/REDTEAM.md:380",
        "isaca0315/CVE-2026-44840-poc/REDTEAM.md:384",
        "isaca0315/CVE-2026-44840-poc/REDTEAM.md:388",
        "isaca0315/CVE-2026-44840-poc/REDTEAM.md:407",
        "isaca0315/CVE-2026-44840-poc/REDTEAM.md:456",
        "isaca0315/CVE-2026-44840-poc/REDTEAM.md:460",
        "isaca0315/CVE-2026-44840-poc/REDTEAM.md:464",
        "isaca0315/CVE-2026-44840-poc/REDTEAM.md:468",
        "isaca0315/CVE-2026-44840-poc/REDTEAM.md:474",
        "isaca0315/CVE-2026-44840-poc/REDTEAM.md:480"
      ]
    }
  ],
  "rules": []
}
