DbGate: Unauthenticated Remote Code Execution via JSON Script Runner
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-94.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- 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-serve (npm) | before 7.1.9 | 7.1.9 | Patch available | GHSA-8v3q-9vmx-36vc |
- dbgate Vendordbgate Affected before 7.1.9 Fixed in 7.1.9 Patch available CNA
- dbgate-serve (npm) Vendor— Affected before 7.1.9 Fixed in 7.1.9 Patch available GHSA-8v3q-9vmx-36vc
Remediation
- Fix · CNA dbgate (dbgate) Fixed in 7.1.9
- Fix · GHSA-8v3q-9vmx-36vc dbgate-serve (npm) Fixed in 7.1.9 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-47668
- 2026-10-03 Alias added: GHSA-8v3q-9vmx-36vc
- 2026-10-13 EPSS moved to the 90th–95th percentile
References
More dbgate vulnerabilities
- TI-2026-35176 DbGate: Zip Slip in archive/unzip allows arbitrary file write leading to RCE CVSS 4.0CRITICAL 9.3
- TI-2026-35177 DbGate Vulnerable to Authenticated Remote Code Execution via loadReader functionName code injection CVSS 4.0CRITICAL 9.4
- 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-47668 · CVE Program
- CVE-2026-47668 · NVD
- FIRST EPSS
- GHSA-8v3q-9vmx-36vc · 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