DbGate Vulnerable to Authenticated Remote Code Execution via loadReader functionName code injection
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-77.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| dbgate | dbgate | before 7.1.9 | 7.1.9 | Patch available | CNA |
| — | dbgate-api (npm) | before 7.1.9 | 7.1.9 | Patch available | GHSA-wm5r-5qp3-5vxf |
- dbgate Vendordbgate Affected before 7.1.9 Fixed in 7.1.9 Patch available CNA
- dbgate-api (npm) Vendor— Affected before 7.1.9 Fixed in 7.1.9 Patch available GHSA-wm5r-5qp3-5vxf
Remediation
- Fix · CNA dbgate (dbgate) Fixed in 7.1.9
- Fix · GHSA-wm5r-5qp3-5vxf dbgate-api (npm) Fixed in 7.1.9 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-47670
- 2026-10-03 Alias added: GHSA-wm5r-5qp3-5vxf
References
More dbgate vulnerabilities
- TI-2026-35175 DbGate: Unauthenticated Remote Code Execution via JSON Script Runner CVSS 3.1CRITICAL 10.0
- TI-2026-35176 DbGate: Zip Slip in archive/unzip allows arbitrary file write leading to RCE CVSS 4.0CRITICAL 9.3
- TI-2026-35462 DbGate: Remote Code Execution via functionName injection in loadReader endpoint CVSS 3.1HIGH 8.8
- TI-2026-26969 dbgate-web: Stored XSS in applicationIcon leads to potential RCE in Electron due to unsafe renderer configuration CVSS 3.1HIGH 8.3
- TI-2025-32068 DbGate allows Unauthorized File Access via CSV Plugin CVSS 4.0HIGH 7.0
- TI-2026-58509 DbGate through 7.2.6 Arbitrary File Read and Write via file:// jslid CVSS 4.0HIGH 8.7
Sources
- CVE-2026-47670 · CVE Program
- CVE-2026-47670 · NVD
- FIRST EPSS
- GHSA-wm5r-5qp3-5vxf · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences