Vulnerability library
Security checkJuly 08, 2026

DbGate: Remote Code Execution via functionName injection in loadReader endpoint

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

High severitynpmdbgate-api

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

The POST /runners/load-reader endpoint in DbGate accepts a functionName parameter that is directly interpolated into a JavaScript code template without any sanitization or validation.

Recommendation

Update the dbgate-api 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: Remote Code Execution via functionName injection in loadReader endpoint and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated July 08, 2026