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

- Severity: Critical 9.4 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.71%, higher than 78% of CVEs (2026-12-01)
- Published: 2026-06-05T16:30:59.000Z
- Modified: 2026-07-28T16:17:16.127Z
- Also known as: GHSA-wm5r-5qp3-5vxf
- Weaknesses: CWE-77, CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- dbgate dbgate: < 7.1.9
- dbgate-api (npm): before 7.1.9

## Every score

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

## References

- <https://github.com/dbgate/dbgate/security/advisories/GHSA-wm5r-5qp3-5vxf> (web)
- <https://github.com/dbgate/dbgate/releases/tag/v7.1.9> (web)
- <https://github.com/dbgate/dbgate> (package)

## Sources

- CVE List: [CVE-2026-47670](https://www.cve.org/CVERecord?id=CVE-2026-47670), CVE Terms of Use, modified 2026-07-24
- GitHub Advisory Database: [GHSA-wm5r-5qp3-5vxf](https://github.com/advisories/GHSA-wm5r-5qp3-5vxf), CC-BY-4.0, modified 2026-06-05
- NVD: [CVE-2026-47670](https://nvd.nist.gov/vuln/detail/CVE-2026-47670), Public domain, modified 2026-07-28

---

Page: https://cve.day/CVE-2026-47670 · Whole record: https://cve.day/CVE-2026-47670.json · Rebuilt by cve.day 2026-11-25T22:59:29.949Z
