Skip to content
OpenAdvisories
High · 8.8 Public exploit CVE-2026-48017 EUVD-2026-37007GHSA-hv83-ggc4-v385

DbGate: Remote Code Execution via functionName injection in loadReader endpoint

Published Jun 15, 2026 · Updated Jul 23, 2026 · Assigned by GitHub_M

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. Version 7.1.9 contains a patch.

Affected products

VendorProductAffectedFixed
dbgate dbgate < 7.1.9 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

  • romain-deperne/CVE-2026-48017 ★ 0 · Jun 13, 2026

    Remote Code Execution in DbGate via functionName injection in the loadReader endpoint — CVSS 8.8

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
npm dbgate-api < 7.1.9 7.1.9 GHSA-hv83-ggc4-v385

References