Patchfirst
CVE-2026-47670 Public exploit Critical · 9.4 EPSS 1.8%

DbGate Vulnerable to Authenticated Remote Code Execution via loadReader functionName code injection

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

dbgate · dbgate

Summary

DbGate, a cross-platform database manager, contains a code injection flaw in its /runners/load-reader endpoint, where the functionName parameter is not sanitised before use. An attacker with valid DbGate credentials over network access, requiring no user interaction and no special configuration, can execute arbitrary OS commands with root privileges on the affected host, and versions 7.1.8 and prior are affected.

Official description · CVE.org

DbGate is cross-platform database manager. Versions 7.1.8 and prior are vulnerable to authenticated Remote Code Execution (RCE). Any user with valid DbGate credentials can execute arbitrary OS commands as root by exploiting an unsanitized `functionName` parameter in the `/runners/load-reader` endpoint. The `require = null` mitigation is trivially bypassed via dynamic `import()`. Version 7.1.9 contains a patch.

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

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

  1. Public exploit codePoC-in-GitHub35 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-api.

npmdbgate-apiGHSA-wm5r-5qp3-5vxf

Upgrade to 7.1.9 or later

npmnpm install dbgate-api@7.1.9

The first fix for CVE-2026-47670. 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

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