Description
DbGate is cross-platform database manager. Versions 7.1.8 and prior are vulnerable to authenticated Remote Code Execution (RCE). Any user with valid DbGate credentials can execute arbitrary OS commands as root by exploiting an unsanitized `functionName` parameter in the `/runners/load-reader` endpoint. The `require = null` mitigation is trivially bypassed via dynamic `import()`. Version 7.1.9 contains a patch.
Published: 2026-07-23
Score: 9.4 Critical
EPSS: 1.7% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

DbGate is a cross‑platform database manager. Versions 7.1.8 and prior are vulnerable to authenticated Remote Code Execution. An attacker with valid credentials can supply an unsanitized functionName parameter to the /runners/load‑reader endpoint, allowing arbitrary OS commands to be executed as root. The require = null mitigation can be bypassed through dynamic import, leaving the flaw fully exploitable. The vulnerability is addressed in version 7.1.9.

Affected Systems

The affected product is dbgate:dbgate. All releases up to and including version 7.1.8 are vulnerable; the issue was fixed in version 7.1.9. Users must ensure they are running a patched release.

Risk and Exploitability

The CVSS score of 9.4 indicates critical severity. With an EPSS score of 2 %, the probability of exploitation is low but not negligible. The vulnerability is not listed in CISA’s KEV catalog, meaning no known large‑scale exploitation has been reported. Attackers would need network access to the DbGate service and valid credentials, after which they can launch arbitrary commands. The impact is complete control over the host running DbGate, including privileged execution.

Generated by OpenCVE AI on August 3, 2026 at 21:05 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade DbGate to version 7.1.9 or later to apply the patch that sanitizes the functionName parameter.
  • If an immediate upgrade is not possible, restrict access to the /runners/load‑reader endpoint to a tightly controlled set of administrators or temporarily disable the endpoint until a patch is applied.
  • Validate and whitelist acceptable values for functionName on the server side to mitigate injection attempts during the transition period.

Generated by OpenCVE AI on August 3, 2026 at 21:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-wm5r-5qp3-5vxf Authenticated Remote Code Execution via loadReader functionName code injection in DbGate
History

Fri, 24 Jul 2026 21:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 24 Jul 2026 00:00:00 +0000

Type Values Removed Values Added
First Time appeared Dbgate
Dbgate dbgate
Vendors & Products Dbgate
Dbgate dbgate

Thu, 23 Jul 2026 21:45:00 +0000

Type Values Removed Values Added
Description DbGate is cross-platform database manager. Versions 7.1.8 and prior are vulnerable to authenticated Remote Code Execution (RCE). Any user with valid DbGate credentials can execute arbitrary OS commands as root by exploiting an unsanitized `functionName` parameter in the `/runners/load-reader` endpoint. The `require = null` mitigation is trivially bypassed via dynamic `import()`. Version 7.1.9 contains a patch.
Title DbGate Vulnerable to Authenticated Remote Code Execution via loadReader functionName code injection
Weaknesses CWE-77
CWE-78
References
Metrics cvssV4_0

{'score': 9.4, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-24T20:10:09.061Z

Reserved: 2026-05-19T21:10:38.797Z

Link: CVE-2026-47670

cve-icon Vulnrichment

Updated: 2026-07-24T20:10:04.995Z

cve-icon NVD

Status : Deferred

Published: 2026-07-23T20:17:08.500

Modified: 2026-07-28T16:17:16.127

Link: CVE-2026-47670

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T21:15:04Z

Weaknesses
  • CWE-77

    Improper Neutralization of Special Elements used in a Command ('Command Injection')

  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')