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.
Published: 2026-07-23
Score: 10 Critical
EPSS: 4.3% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

DbGate is a cross‑platform database manager. In versions 7.1.8 and earlier, its JSON script runner allows remote code execution by injecting code into the functionName parameter of assign commands within JSON scripts. The functionName is concatenated into JavaScript source code that is then executed in a Node.js child process. This leads to arbitrary code execution on the host, granting an attacker full control and the ability to exfiltrate data or disrupt services. The weakness is a combination of unsafe string handling (CWE-1188), lack of input validation (CWE-20), and a code‑generation vulnerability (CWE-94).

Affected Systems

The flaw exists in DbGate versions 7.1.8 and earlier. The affected vendor is dbgate, product dbgate. A user should verify if they run a vulnerable build and consider updating.

Risk and Exploitability

The CVSS score of 10 indicates critical severity. The EPSS score of 4% suggests a moderate exploitation probability. The vulnerability is not yet published in the CISA KEV catalog, but its remote nature and high impact make it a priority to remediate. Attackers can exploit the flaw via an unauthenticated HTTP POST to /runners/start, sending a malformed JSON payload containing a malicious functionName. The code is then executed on the system, potentially compromising confidentiality, integrity, and availability.

Generated by OpenCVE AI on August 3, 2026 at 21:11 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the DbGate 7.1.9 patch or later to eliminate the vulnerable JSON Script Runner.
  • If immediate patching is not feasible, restrict network access to the /runners/start endpoint to trusted hosts only or disable the endpoint via firewall rules until the patch is applied.
  • Continuously monitor syslog and application logs for unexpected POST requests to /runners/start, and conduct integrity checks on the Node.js process to detect unauthorized execution.

Generated by OpenCVE AI on August 3, 2026 at 21:11 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-8v3q-9vmx-36vc DbGate: Unauthenticated Remote Code Execution via JSON Script Runner
History

Fri, 24 Jul 2026 00:00:00 +0000

Type Values Removed Values Added
First Time appeared Dbgate
Dbgate dbgate
Vendors & Products Dbgate
Dbgate dbgate

Thu, 23 Jul 2026 21:45:00 +0000

Type Values Removed Values Added
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.
Title DbGate: Unauthenticated Remote Code Execution via JSON Script Runner
Weaknesses CWE-1188
CWE-20
CWE-94
References
Metrics cvssV3_1

{'score': 10, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-24T03:56:27.625Z

Reserved: 2026-05-19T21:10:38.797Z

Link: CVE-2026-47668

cve-icon Vulnrichment

Updated: 2026-07-23T18:34:16.366Z

cve-icon NVD

Status : Deferred

Published: 2026-07-23T18:16:53.350

Modified: 2026-07-24T05:16:44.947

Link: CVE-2026-47668

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T21:15:04Z

Weaknesses
  • CWE-1188

    Initialization of a Resource with an Insecure Default

  • CWE-20

    Improper Input Validation

  • CWE-94

    Improper Control of Generation of Code ('Code Injection')