CVE-2026-47668 PUBLISHED

DbGate: Unauthenticated Remote Code Execution via JSON Script Runner

Assigner: GitHub_M
Reserved: 19.05.2026 Published: 23.07.2026 Updated: 24.07.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS Score: 10

Product Status

Vendor dbgate
Product dbgate
Versions
  • Version < 7.1.9 is affected

References

Problem Types

  • CWE-20: Improper Input Validation CWE
  • CWE-94: Improper Control of Generation of Code ('Code Injection') CWE
  • CWE-1188: Insecure Default Initialization of Resource CWE