Description
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.
Recommendation
Update the dbgate-serve package to the latest compatible version. Followings are version details:
- Affected version(s): <= 7.1.8
- Patched version(s): 7.1.9
References
Could your website be exposed too?
SmartScanner can check your website for DbGate: Unauthenticated Remote Code Execution via JSON Script Runner and gives you actionable findings to investigate.
Start a free scanRelated Issues
- Authenticated Remote Code Execution via loadReader functionName code injection in DbGate - CVE-2026-47670
- seroval Affected by Remote Code Execution via JSON Deserialization - CVE-2026-23737
- DbGate: Remote Code Execution via functionName injection in loadReader endpoint - CVE-2026-48017
- Flowise: CSV Agent Remote Code Execution via Pyodide Code Injection — Root Shell Verified - CVE-2026-69255


