# CVE-2026-47668: DbGate: Unauthenticated Remote Code Execution via JSON Script Runner

- Severity: Critical 10.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A: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): 3.78%, higher than 90% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-05T16:25:23.000Z
- Modified: 2026-07-24T05:16:44.947Z
- Also known as: GHSA-8v3q-9vmx-36vc
- Weaknesses: CWE-20, CWE-94, CWE-1188
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

DbGate is cross-platform database manager. In versions 7.1.8 and prior, DbGate's JSON script runner (`POST /runners/start`) allows remote code execution via code injection in the `functionName` parameter of JSON script `assign` commands. The `functionName` value is interpolated directly into dynamically generated JavaScript source code via string concatenation. The generated code is then executed in a forked Node.js child process. Version 7.1.9 contains a patch.

(As written by CVE List.)

## Affected

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

## Every score

- GitHub_M: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://github.com/dbgate/dbgate/security/advisories/GHSA-8v3q-9vmx-36vc> (exploit, web)
- <https://github.com/dbgate/dbgate/releases/tag/v7.1.9> (web)
- <https://github.com/runZeroInc/nuclei-templates/blob/main/http/vulnerabilities/dbgate-unauth-rce.yaml> (web)
- <https://github.com/dbgate/dbgate> (package)

## Sources

- CVE List: [CVE-2026-47668](https://www.cve.org/CVERecord?id=CVE-2026-47668), CVE Terms of Use, modified 2026-07-24
- GitHub Advisory Database: [GHSA-8v3q-9vmx-36vc](https://github.com/advisories/GHSA-8v3q-9vmx-36vc), CC-BY-4.0, modified 2026-06-05
- NVD: [CVE-2026-47668](https://nvd.nist.gov/vuln/detail/CVE-2026-47668), Public domain, modified 2026-07-24

---

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