Home

Description

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.

PUBLISHED Reserved 2026-05-20 | Published 2026-06-15 | Updated 2026-06-17 | Assigner GitHub_M




HIGH: 8.8CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Problem types

CWE-94: Improper Control of Generation of Code ('Code Injection')

Product status

< 7.1.9
affected

References

github.com/...dbgate/security/advisories/GHSA-hv83-ggc4-v385 exploit

github.com/...dbgate/security/advisories/GHSA-hv83-ggc4-v385

github.com/dbgate/dbgate/releases/tag/v7.1.9

cve.org (CVE-2026-48017)

nvd.nist.gov (CVE-2026-48017)

Download JSON