Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. dbgate-api
  4. ›
  5. CVE-2026-47670

CVE-2026-47670: Authenticated Remote Code Execution via loadReader functionName code injection in DbGate

June 5, 2026

DbGate is 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().

References

  • github.com/advisories/GHSA-wm5r-5qp3-5vxf
  • github.com/dbgate/dbgate/releases/tag/v7.1.9
  • github.com/dbgate/dbgate/security/advisories/GHSA-wm5r-5qp3-5vxf
  • nvd.nist.gov/vuln/detail/CVE-2026-47670

Code Behaviors & Features

Detect and mitigate CVE-2026-47670 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 7.1.9

Fixed versions

  • 7.1.9

Solution

Upgrade to version 7.1.9 or above.

Impact 9.9 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

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

Source file

npm/dbgate-api/CVE-2026-47670.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:23:49 +0000.