Skip to content

CVE-2026-47669 DbGate: Zip Slip in archive/unzip allows arbitrary file write leading to RCE

CriticalCVSS 9.3 EPSS 0.52%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: total
Technology
Docker

Description

DbGate is cross-platform database manager. In versions 7.1.8 and prior, 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. In the default Docker deployment, DbGate runs as root and the none auth provider issues JWT tokens without credentials via POST /auth/login, so this is exploitable by any network-adjacent attacker. Version 7.1.9 fixes the issue.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
npm dbgate(npm) < 7.1.9; <= 7.1.8 7.1.9 Fixed
dbgate = < 7.1.9 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
dbgate = < 7.1.9 No fix listed
npm dbgate(npm) <= 7.1.8 No fix listed
npm dbgate(npm) < 7.1.9 7.1.9

References