Read the docs
TI-2026-35462 Aliases CVE-2026-48017GHSA-hv83-ggc4-v385

DbGate: Remote Code Execution via functionName injection in loadReader endpoint

Priority HIGH 73CWE-94Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-94.

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00511 43rd percentileScored 2026-11-07
Fix Fixed dbgate (dbgate): 7.1.9dbgate-api (npm): 7.1.9

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
dbgatedbgatebefore 7.1.97.1.9Patch availableCNA
—dbgate-api (npm)before 7.1.97.1.9Patch availableGHSA-hv83-ggc4-v385
  • dbgate Vendordbgate Affected before 7.1.9 Fixed in 7.1.9 Patch available CNA
  • dbgate-api (npm) Vendor— Affected before 7.1.9 Fixed in 7.1.9 Patch available GHSA-hv83-ggc4-v385

Remediation

  • Fix · CNA dbgate (dbgate) Fixed in 7.1.9
  • Fix · GHSA-hv83-ggc4-v385 dbgate-api (npm) Fixed in 7.1.9 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-48017
  2. 2026-10-03 Alias added: GHSA-hv83-ggc4-v385

References

  • TI-2026-35175 DbGate: Unauthenticated Remote Code Execution via JSON Script Runner CVSS 3.1CRITICAL 10.0
  • TI-2026-35176 DbGate: Zip Slip in archive/unzip allows arbitrary file write leading to RCE CVSS 4.0CRITICAL 9.3
  • TI-2026-35177 DbGate Vulnerable to Authenticated Remote Code Execution via loadReader functionName code injection CVSS 4.0CRITICAL 9.4
  • TI-2026-26969 dbgate-web: Stored XSS in applicationIcon leads to potential RCE in Electron due to unsafe renderer configuration CVSS 3.1HIGH 8.3
  • TI-2025-32068 DbGate allows Unauthorized File Access via CSV Plugin CVSS 4.0HIGH 7.0
  • TI-2026-58509 DbGate through 7.2.6 Arbitrary File Read and Write via file:// jslid CVSS 4.0HIGH 8.7
See all 8 →

Sources