Patchfirst
CVE-2026-47668 Public exploit Critical · 10.0 EPSS 3.9%

DbGate: Unauthenticated Remote Code Execution via JSON Script Runner

Fix:upgrade dbgate-serve to 7.1.9 or later Details ↓

dbgate · dbgate

Summary

DbGate, a cross-platform database manager, has a code injection flaw in its JSON script runner (the POST /runners/start endpoint) in versions 7.1.8 and prior, where the functionName value in assign commands is concatenated directly into generated JavaScript that runs in a forked Node.js child process. An attacker who can reach the endpoint over the network, without authentication or user interaction, can inject code into that generated source and achieve remote code execution.

Official description · CVE.org

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.

Breakdown
75.1 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

Public exploit code (PoC-in-GitHub) was available 58 days before disclosure.

  1. Public exploit codePoC-in-GitHub58 days before
  2. Disclosedday 0

Affected versions and fixes

as published in the CVE record

dbgate dbgate

Affected: < 7.1.9

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: dbgate-serve.

npmdbgate-serveGHSA-8v3q-9vmx-36vc

Upgrade to 7.1.9 or later

npmnpm install dbgate-serve@7.1.9

The first fix for CVE-2026-47668. No other CVE tracked by Patchfirst affects this package.

Affected versions

If you runUpgrade to
All versions before 7.1.97.1.9

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

References

3 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close