DbGate
DbGate: Unauthenticated Remote Code Execution via JSON Script Runner
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 7.1.9
Fixed in 7.1.9
Mitigation
Upgrade dbgate to 7.1.9 or later.
References
- Vendor advisory github.com/dbgate/dbgate/security/advisories/G…
- Release notes github.com/dbgate/dbgate/releases/tag/v7.1.9
Timeline
Days relative to CVE publicationFirst public PoC 64 days before publication; not in CISA KEV. First PoC: nuclei template: DbGate - Remote Code Execution via Anonymous JWT (nuclei template, 20 May 2026).
PoC repositories
Found on GitHub.2 PoCs
PoCs 2
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Nxploited/CVE-2026-47668 | 26 May 2026 −58 d | 6 | PoC |
| s-vx/CVE-2026-47668 | 31 Jul 2026 +7.9 d | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| nuclei template | nuclei template: DbGate - Remote Code Execution via Anonymous JWT | 20 May 2026 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 2 PoC reposPOST /auth/login
- Body markers
"amoid":"none"inapplication/json- Ports
- 3000
- Seen in
- 1 repo: s-vx/CVE-2026-47668
- Evidence
- s-vx/CVE-2026-47668/rce.py:118
POST /runners/start
- Body markers
"amoid":"none"inapplication/json- Ports
- 3000
- Seen in
- 1 repo: s-vx/CVE-2026-47668
- Evidence
- s-vx/CVE-2026-47668/rce.py:147
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/auth/login(?:[?#].*)?$
(?i)^/runners/start(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [3000] (msg:"GG PoC-Monitor CVE-2026-47668 dbgate dbgate exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/auth/login"; http.request_body; content:"|22|amoid|22|:|22|none|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-47668; classtype:web-application-attack; sid:9209397; rev:1;)
alert http any any -> $HOME_NET [3000] (msg:"GG PoC-Monitor CVE-2026-47668 dbgate dbgate exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/runners/start"; http.request_body; content:"|22|amoid|22|:|22|none|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-47668; classtype:web-application-attack; sid:9887095; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: dbgate dbgate exploit attempt (CVE-2026-47668)
id: gg-pocmon-cve-2026-47668-9209397
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-47668. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-47668
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/auth/login'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.47668
title: dbgate dbgate exploit attempt (CVE-2026-47668)
id: gg-pocmon-cve-2026-47668-9887095
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-47668. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-47668
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/runners/start'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.47668