Vulnerability library
Security checkJune 05, 2026

DbGate: Unauthenticated Remote Code Execution via JSON Script Runner

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmdbgate-serve

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

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 scan

Related Issues

See something that needs correcting? Let us knowUpdated June 05, 2026