CVE-2026-47668

DbGate: Unauthenticated Remote Code Execution via JSON Script Runner

State
Published
Severity
10.0 Critical
Published
Jul 23, 2026
Updated
Jul 24, 2026
Reserved
May 19, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.110.0 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:HGitHub_M

Weaknesses

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

Affected Products

ProductVersions
dbgatedbgate
  • < 7.1.9Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.