CVE-2026-47668: Vulnerability in dbgate-serve
Critical. 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...
npm, CWE-20, CWE-94
- Exploitation
- None confirmed
- Severity
- 10 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-8v3q-9vmx-36vc
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- Weakness
- CWE-20, CWE-94, CWE-1188
- Published
- 5 Jun 2026
- Last change
- 24 Jul 2026
- Ecosystem
- npm
Affected packages
Vulnerable version ranges and fixed releases
- dbgate-serve npm, Affected through 7.1.8. Fixed in 7.1.9
Advisories
Vendor and security advisories
- github.com/dbgate/dbgate/security/advisories/GHSA-8v3q-9vmx-36vc
- github.com/runZeroInc/nuclei-templates/blob/main/http/vulnerabilities/dbgate-unauth-rce...
Patches and fixes
Updates, commits and release notes