Vulnerabilities/

DbGate: Unauthenticated Remote Code Execution via JSON Script Runner

Severity:
High

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:

References

Related Issues

Tags:
npm
dbgate-serve
Anything's wrong? Let us know Last updated on June 05, 2026