CVE-2026-47669
published 2026-07-23CVE-2026-47669: 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)…
PriorityP261critical9.3CVSS 4.0
AVNACLATNPRNUINVCHVIHVAHSCNSINSANEXCRXIRXARXMAVXMACXMATXMPRXMUIXMVCXMVIXMVAXMSCXMSIXMSAXSXAUXRXVXREXUX
EPSS
0.52%
42.7th percentile
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.
Affected
2 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| dbgate | dbgate | < 7.1.9 | 7.1.9 |
| dbgate | dbgate | >= 0 < 7.1.9 | 7.1.9 |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
VulDB
DbGate up to 7.1.8 ZIP unzipDirectory.js unzipDirectory path traversal
vuldb·2026-07-23·CVSS 9.3
CVE-2026-47669 [CRITICAL] DbGate up to 7.1.8 ZIP unzipDirectory.js unzipDirectory path traversal
A vulnerability described as very critical has been identified in DbGate up to 7.1.8. This affects the function unzipDirectory of the file packages/api/src/shell/unzipDirectory.js of the component ZIP Handler. Executing a manipulation can lead to path traversal.
This vulnerability is handled as CVE-2026-47669. The attack can be executed remotely. There is not any exploit available.
Upgrading the affected component is recommended.
GHSA
DbGate: Zip Slip in archive/unzip allows arbitrary file write leading to RCE
ghsa·2026-06-05
CVE-2026-47669 [CRITICAL] CWE-22 DbGate: Zip Slip in archive/unzip allows arbitrary file write leading to RCE
DbGate: Zip Slip in archive/unzip allows arbitrary file write leading to RCE
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.
**Affected code:**
`packages/api/src/shell/unzipDirectory.js`, line 27:
```js
const destPath = path.join(outputDirectory, entry.fileName);
// No check that destPath stays within outputDirectory
```
Called from `packages/api/src/controllers/archive.js`, lines 291-293:
```js
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2026-07-23
Published