DbGate: Zip Slip in archive/unzip allows arbitrary file write leading to RCE
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| dbgate | dbgate | before 7.1.9 | 7.1.9 | Patch available | CNA |
| — | dbgate (npm) | before 7.1.9 | 7.1.9 | Patch available | GHSA-h535-j5hr-mv56 |
- dbgate Vendordbgate Affected before 7.1.9 Fixed in 7.1.9 Patch available CNA
- dbgate (npm) Vendor— Affected before 7.1.9 Fixed in 7.1.9 Patch available GHSA-h535-j5hr-mv56
Remediation
- Fix · CNA dbgate (dbgate) Fixed in 7.1.9
- Fix · GHSA-h535-j5hr-mv56 dbgate (npm) Fixed in 7.1.9 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-47669
- 2026-10-03 Alias added: GHSA-h535-j5hr-mv56
References
More dbgate vulnerabilities
- TI-2026-35175 DbGate: Unauthenticated Remote Code Execution via JSON Script Runner CVSS 3.1CRITICAL 10.0
- TI-2026-35177 DbGate Vulnerable to Authenticated Remote Code Execution via loadReader functionName code injection CVSS 4.0CRITICAL 9.4
- TI-2026-35462 DbGate: Remote Code Execution via functionName injection in loadReader endpoint CVSS 3.1HIGH 8.8
- TI-2026-26969 dbgate-web: Stored XSS in applicationIcon leads to potential RCE in Electron due to unsafe renderer configuration CVSS 3.1HIGH 8.3
- TI-2025-32068 DbGate allows Unauthorized File Access via CSV Plugin CVSS 4.0HIGH 7.0
- TI-2026-58509 DbGate through 7.2.6 Arbitrary File Read and Write via file:// jslid CVSS 4.0HIGH 8.7
Sources
- CVE-2026-47669 · CVE Program
- CVE-2026-47669 · NVD
- FIRST EPSS
- GHSA-h535-j5hr-mv56 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences