DbGate
DbGate Vulnerable to Authenticated Remote Code Execution via loadReader functionName code injection
DbGate is cross-platform database manager. Versions 7.1.8 and prior are vulnerable to authenticated Remote Code Execution (RCE). Any user with valid DbGate credentials can execute arbitrary OS commands as root by exploiting an unsanitized `functionName` parameter in the `/runners/load-reader` endpoint. The `require = null` mitigation is trivially bypassed via dynamic `import()`. 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 39 days before publication; not in CISA KEV. First PoC: nuclei template: DbGate - Remote Code Execution via Dynamic Import Bypass (nuclei template, 15 Jun 2026).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| error-inside/CVE-2026-47670 | 18 Jun 2026 −35 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 Dynamic Import Bypass | 15 Jun 2026 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 1 PoC repoPOST /auth/login
- Body markers
"amoid":"logins""login":"admin""password":"admin"inapplication/json- Seen in
- 1 repo: error-inside/CVE-2026-47670
- Evidence
- error-inside/CVE-2026-47670/README.md:36 error-inside/CVE-2026-47670/README.md:38
POST /jsldata/get-rows
- Key headers
Authorization: Bearer {var}- Body markers
"jslid":"file:///tmp/_dbg_poc.jsonl""offset":0"limit":100inapplication/json- Seen in
- 1 repo: error-inside/CVE-2026-47670
- Evidence
- error-inside/CVE-2026-47670/README.md:55 error-inside/CVE-2026-47670/README.md:58
POST /runners/load-reader
- Key headers
Authorization: Bearer {var}- Body markers
"functionName":"csvReaderimport(\"child_process\")execSync(\"id\")__isStreamHeader:true"props":{}inapplication/json- Seen in
- 1 repo: error-inside/CVE-2026-47670
- Evidence
- error-inside/CVE-2026-47670/README.md:45 error-inside/CVE-2026-47670/README.md:48
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/auth/login(?:[?#].*)?$
(?i)^/jsldata/get-rows(?:[?#].*)?$
(?i)^/runners/load-reader(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-47670 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|logins|22|"; http.request_body; content:"|22|login|22|:|22|admin|22|"; http.request_body; content:"|22|password|22|:|22|admin|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-47670; classtype:web-application-attack; sid:9377730; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-47670 dbgate dbgate exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/jsldata/get-rows"; http.header; content:"Authorization: Bearer "; nocase; http.request_body; content:"|22|jslid|22|:|22|file:///tmp/_dbg_poc.jsonl|22|"; http.request_body; content:"|22|offset|22|:0"; http.request_body; content:"|22|limit|22|:100"; reference:url,poc.griffinguard.io/cve/CVE-2026-47670; classtype:web-application-attack; sid:9156190; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-47670 dbgate dbgate exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/runners/load-reader"; http.header; content:"Authorization: Bearer "; nocase; http.request_body; content:"|22|functionName|22|:|22|csvReader"; http.request_body; content:"import(|5c||22|child_process|5c||22|)"; http.request_body; content:"execSync(|5c||22|id|5c||22|)"; http.request_body; content:"__isStreamHeader:true"; http.request_body; content:"|22|props|22|:{}"; reference:url,poc.griffinguard.io/cve/CVE-2026-47670; classtype:web-application-attack; sid:9807194; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: dbgate dbgate exploit attempt (CVE-2026-47670)
id: gg-pocmon-cve-2026-47670-9377730
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-47670. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-47670
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.47670
title: dbgate dbgate exploit attempt (CVE-2026-47670)
id: gg-pocmon-cve-2026-47670-9156190
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-47670. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-47670
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/jsldata/get-rows'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.47670
title: dbgate dbgate exploit attempt (CVE-2026-47670)
id: gg-pocmon-cve-2026-47670-9807194
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-47670. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-47670
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/runners/load-reader'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.47670