Skip to main content
← All vulnerabilities
CVE-2026-48017GHSA-HV83-GGC4-V385

DbGate: Remote Code Execution via functionName injection in loadReader endpoint

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 7.1.9
1 proof of concept on GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • dbgate dbgate

    fixed in 7.1.9

  • dbgate-apinpm

    fixed in 7.1.9

References 3

GitHub · dbgate/dbgate

GitHub · romain-deperne/CVE-2026-48017