CVE-2026-47669
Received Received - Intake

Path Traversal in DbGate Database Manager

Vulnerability report for CVE-2026-47669, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-23

Last updated on: 2026-07-23

Assigner: GitHub, Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-23
Last Modified
2026-07-23
Generated
2026-07-24
AI Q&A
2026-07-23
EPSS Evaluated
N/A
NVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
dbgate dbgate to 7.1.8 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-47669 is a Zip Slip vulnerability in DbGate, a cross-platform database manager. The issue occurs in the unzipDirectory() function which fails to validate file paths when extracting ZIP archives. Malicious ZIP files containing ../ entries can write files outside the intended directory, potentially anywhere on the filesystem.

Detection Guidance

Check for unauthorized file writes outside expected directories, especially in Docker deployments where DbGate runs as root. Inspect ZIP archives for ../ entries using tools like 'zipinfo -v malicious.zip' to detect path traversal attempts.

Impact Analysis

An attacker could exploit this to write arbitrary files on the system. In the default Docker deployment running as root, this could lead to remote code execution (RCE) and full container compromise. Attackers could create cron jobs, modify system files, or install malware.

Mitigation Strategies

Upgrade DbGate to version 7.1.9 or later immediately. Disable the 'none' auth provider in Docker deployments and avoid running DbGate as root. Block network access to /auth/login endpoints if possible.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-47669. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart