Vulnerabilities/

DbGate: Zip Slip in archive/unzip allows arbitrary file write leading to RCE

Severity:
High

Description

The unzipDirectory() function in packages/api/src/shell/unzipDirectory.js (line 27) does not validate that extracted file paths stay within the output directory. A malicious ZIP with ../ entries writes files anywhere on the filesystem.

Recommendation

Update the dbgate package to the latest compatible version. Followings are version details:

References

Related Issues

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