CVE-2026-48017
HIGH 8.8CVSS 3.1DbGate: Remote Code Execution via functionName injection in loadReader endpoint
DbGate is cross-platform database manager. In versions 7.1.8 and prior, the POST /runners/load-reader endpoint in DbGate accepts a functionName parameter that is directly interpolated into a JavaScript code template without any sanitization or validation. An authenticated user (with basic access, no special permissions required) can inject arbitrary JavaScript code that executes on the server with full process privileges, bypassing the require=null sandbox restriction. An authenticated user with basic access (no admin role, no run-shell-script permission required) can: execute arbitrary OS commands on the DbGate server with the privileges of the Node.js process, read/write any file accessible to the process, pivot to connected databases by reading connection credentials from DbGate's storage, and compromise the host system - in Docker deployments, this typically means root access within the container. Version 7.1.9 contains a patch.
- Published
- 15 Jun 2026
- Last modified
- 23 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-94
- Also known as
- GHSA-hv83-ggc4-v385
- Sources
- NVDJSONOSV GHSA-hv83-ggc4-v385JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A: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-hv83-ggc4-v385 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-48017 · ADVISORY
- https://github.com/dbgate/dbgate · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 15 Jun 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 5 Jun 2026)