CVE-2026-47670

DbGate Vulnerable to Authenticated Remote Code Execution via loadReader functionName code injection

Published Jul 23, 2026 CVSS 4.0 · 9.4 Critical EPSS 1.8% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Dbgate
Dbgate dbgate
Vendors & Products Dbgate
Dbgate dbgate
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'}

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')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 24, 2026, 8:10 PM
Reserved
May 19, 2026, 9:10 PM
Status
Deferred
Published
Jul 23, 2026, 8:17 PM
Modified
Jul 28, 2026, 4:17 PM