CVE-2026-47670: Vulnerability in dbgate-api

Critical. 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.

npm, CWE-77, CWE-78

Exploitation
None confirmed
Severity
9.4 of 10
Attack likelihood
1.7 % in 30 days
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-wm5r-5qp3-5vxf
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness
CWE-77, CWE-78
Published
5 Jun 2026
Last change
28 Jul 2026
Likelihood rank
Higher than 78 % of all rated vulnerabilities
Analysis status
Deferred
Ecosystem
npm

Affected packages

Vulnerable version ranges and fixed releases

  • dbgate-api npm, Affected through 7.1.8. Fixed in 7.1.9

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes