CVE-2026-47670
Authenticated Remote Code Execution via loadReader functionName code injection in DbGate
Severity by source
Trivy's own label is CRITICAL. Rated critical by GHSA.
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| npm::GitHub Security Advisory npm | dbgate-api | 7.1.9 |