PT-2026-47063 · Dbgate+1 · Dbgate+1
CVE-2026-47670
·
Published
2026-06-05
·
Updated
2026-07-23
CVSS v4.0
9.4
Critical
| Vector | AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H |
Name of the Vulnerable Software and Affected Versions
DbGate versions prior to 7.1.9
Description
DbGate is subject to authenticated remote code execution. Users with valid credentials can execute arbitrary operating system commands as root by exploiting an unsanitized
functionName parameter in the '/runners/load-reader' endpoint. The application interpolates this parameter directly into a dynamically generated JavaScript script template. By injecting a newline character, an attacker can break out of the template and execute arbitrary JavaScript. This process can bypass existing mitigations that nullify the require function by using the dynamic import() language keyword to load the child process module.Recommendations
As a temporary workaround, restrict access to the '/runners/load-reader' endpoint to minimize the risk of exploitation.
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
RCE
OS Command Injection
Command Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Dbgate
Dbgate-Api