CVE-2026-47669CWE-22

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

Critical · published July 23, 2026

CVSS v4.0
9.3
EPSS
1%
Percentile
43.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
9.3 · CRITICAL
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS
0.00515 · 43.0th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2026-07-23T19:13Z
EPSS history
Timeline
  • 23 JUL 19:13Z
    DbGate: Zip Slip in archive/unzip allows arbitrary file write leading to RCE
    cvelistv5