CVE-2026-47670
CRITICAL 9.4CVSS 4.0Authenticated Remote Code Execution via loadReader functionName code injection in DbGate
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.
- Published
- 23 Jul 2026
- Last modified
- 28 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-77CWE-78
- Also known as
- GHSA-wm5r-5qp3-5vxf
- Sources
- NVDJSONOSV GHSA-wm5r-5qp3-5vxfJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | CRITICAL 9.4 | 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 |
| OSV | GitHub | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | dbgate-api | < 7.1.9 | 7.1.9 |
References
- https://github.com/dbgate/dbgate/releases/tag/v7.1.9 · WEB
- https://github.com/dbgate/dbgate/security/advisories/GHSA-wm5r-5qp3-5vxf · WEB
- https://github.com/dbgate/dbgate · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 23 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 5 Jun 2026)