---
title: "CVE-2026-47670: Authenticated Remote Code Execution via loadReader functionName code injection in DbGate"
url: https://erroneo.us/security/cve/CVE-2026-47670/
description: "CVE-2026-47670 (dbgate-api (npm)): DbGate is cross-platform database manager. Versions 7.1.8 and prior are vulnerable to authenticated Remote Code Execution…"
type: vulnerability-record
section: "Security Digest"
date_published: 2026-07-23
date_modified: 2026-07-24
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2026-47670"
kev: false
cvss: 9.4
epss: 0.01757
license: All rights reserved. Quote with attribution and a link.
---

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

**Signal:** Critical, preconditions apply. Severe if exploited, but exploitation needs conditions that may not apply to you. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV , but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 1.8% , percentile 78: FIRST’s model estimates a 1.8% chance of exploitation activity in the next 30 days, higher than 78% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
- Needs an account (low (any account)). Exposure depends on who can log in.
- Only applies if your dependency tree includes dbgate-api (npm) <= 7.1.8, fixed in 7.1.9 . Check your lockfile, including transitive dependencies.

## What it is

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.

## Affected packages

- npm `dbgate-api` <= 7.1.8 → fixed: 7.1.9

## Affected products (CVE record)

- dbgate dbgate: < 7.1.9

## Severity

- GitHub_M CVSS 4.0: 9.4 `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`
- GitHub CVSS 4.0: 9.4 `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`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc , automatable no , technical impact total .
- FIRST EPSS (model of 2026-10-21): 1.76% probability of exploitation activity in the next 30 days; percentile 78.

## Sources

- [GitHub Advisory GHSA-wm5r-5qp3-5vxf](https://github.com/advisories/GHSA-wm5r-5qp3-5vxf)
- [CVE.org record CVE-2026-47670](https://www.cve.org/CVERecord?id=CVE-2026-47670)
- [NVD entry CVE-2026-47670](https://nvd.nist.gov/vuln/detail/CVE-2026-47670)
- [github.com](https://github.com/dbgate/dbgate/security/advisories/GHSA-wm5r-5qp3-5vxf)
- [github.com](https://github.com/dbgate/dbgate/releases/tag/v7.1.9)

---
Source page: https://erroneo.us/security/cve/CVE-2026-47670/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
