{
  "id": "CVE-2026-47668",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-47668",
  "published_at": "2026-07-23T17:34:52.399Z",
  "title": "DbGate: Unauthenticated Remote Code Execution via JSON Script Runner",
  "vendor": "dbgate",
  "product": "dbgate",
  "cvss": {
    "score": 10,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-05-20T13:24:13Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": -64.2,
    "source": "nuclei",
    "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-47668.yaml"
  },
  "poc_repo_count": 2,
  "exploit_count": 1,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "DbGate is cross-platform database manager. In versions 7.1.8 and prior, DbGate's JSON script runner (`POST /runners/start`) allows remote code execution via code injection in the `functionName` parameter of JSON script `assign` commands. The `functionName` value is interpolated directly into dynamically generated JavaScript source code via string concatenation. The generated code is then executed in a forked Node.js child process. Version 7.1.9 contains a patch.",
  "cwe": "CWE-20",
  "cvss_by_source": {
    "cna": 10
  },
  "repos": [
    {
      "repo": "Nxploited/CVE-2026-47668",
      "url": "https://github.com/Nxploited/CVE-2026-47668",
      "created_at": "2026-05-26T14:47:03Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 6,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2024-11-18T04:36:06Z"
    },
    {
      "repo": "s-vx/CVE-2026-47668",
      "url": "https://github.com/s-vx/CVE-2026-47668",
      "created_at": "2026-07-31T14:57: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": "2018-04-19T14:47:38Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "dbgate",
        "product": "dbgate",
        "ranges": [
          "\u003c 7.1.9"
        ],
        "fixed_in": [
          "7.1.9"
        ]
      }
    ],
    "upgrade": [
      "Upgrade dbgate to 7.1.9 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/dbgate/dbgate/security/advisories/GHSA-8v3q-9vmx-36vc"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/dbgate/dbgate/releases/tag/v7.1.9"
      }
    ]
  },
  "exploit_refs": [
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-47668.yaml",
      "source": "nuclei",
      "title": "nuclei template: DbGate - Remote Code Execution via Anonymous JWT",
      "published_at": "2026-05-20T13:24:13Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "POST",
      "path_template": "/auth/login",
      "body_markers": [
        "\"amoid\":\"none\""
      ],
      "content_type": "application/json",
      "ports": [
        3000
      ],
      "protocol": "http",
      "repos": [
        "s-vx/CVE-2026-47668"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "s-vx/CVE-2026-47668/rce.py:118"
      ]
    },
    {
      "method": "POST",
      "path_template": "/runners/start",
      "body_markers": [
        "\"amoid\":\"none\""
      ],
      "content_type": "application/json",
      "ports": [
        3000
      ],
      "protocol": "http",
      "repos": [
        "s-vx/CVE-2026-47668"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "s-vx/CVE-2026-47668/rce.py:147"
      ]
    }
  ],
  "rules": []
}
