DbGate
DbGate: Remote Code Execution via functionName injection in loadReader endpoint
DbGate is cross-platform database manager. In versions 7.1.8 and prior, the POST /runners/load-reader endpoint in DbGate accepts a functionName parameter that is directly interpolated into a JavaScript code template without any sanitization or validation. An authenticated user (with basic access, no special permissions required) can inject arbitrary JavaScript code that executes on the server with full process privileges, bypassing the require=null sandbox restriction. An authenticated user with basic access (no admin role, no run-shell-script permission required) can: execute arbitrary OS commands on the DbGate server with the privileges of the Node.js process, read/write any file accessible to the process, pivot to connected databases by reading connection credentials from DbGate's storage, and compromise the host system - in Docker deployments, this typically means root access within the container. 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 2.6 days before publication; not in CISA KEV. First PoC: romain-deperne/CVE-2026-48017 (created 13 Jun 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| romain-deperne/CVE-2026-48017 | 13 Jun 2026 −2.6 d | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 1 PoC repoPOST /auth/login
- Body markers
"login""password"inapplication/json- Ports
- 3000
- Seen in
- 1 repo: romain-deperne/CVE-2026-48017
- Evidence
- romain-deperne/CVE-2026-48017/poc/rce_loadreader_functionname_injection.py:115
POST /runners/load-reader
- Key headers
Authorization: Bearer {var}- Body markers
"functionName""props"inapplication/json- Ports
- 3000
- Seen in
- 1 repo: romain-deperne/CVE-2026-48017
- Evidence
- romain-deperne/CVE-2026-48017/poc/rce_loadreader_functionname_injection.py:86
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/auth/login(?:[?#].*)?$
(?i)^/runners/load-reader(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [3000] (msg:"GG PoC-Monitor CVE-2026-48017 dbgate dbgate exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/auth/login"; http.request_body; content:"|22|login|22|"; http.request_body; content:"|22|password|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-48017; classtype:web-application-attack; sid:9468884; rev:1;)
alert http any any -> $HOME_NET [3000] (msg:"GG PoC-Monitor CVE-2026-48017 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|"; http.request_body; content:"|22|props|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-48017; classtype:web-application-attack; sid:9136684; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: dbgate dbgate exploit attempt (CVE-2026-48017)
id: gg-pocmon-cve-2026-48017-9468884
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-48017. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-48017
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/auth/login'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.48017
title: dbgate dbgate exploit attempt (CVE-2026-48017)
id: gg-pocmon-cve-2026-48017-9136684
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-48017. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-48017
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/runners/load-reader'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.48017