PT-2026-47062 · Dbgate+2 · Dbgate

CVE-2026-47669

·

Published

2026-06-05

·

Updated

2026-07-24

CVSS v4.0

9.3

Critical

VectorAV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions DbGate versions prior to 7.1.9
Description DbGate contains a Zip Slip flaw where the unzipDirectory() function fails to validate that extracted file paths remain within the intended output directory. An attacker can use a malicious ZIP archive containing ../ sequences to write files to arbitrary locations on the filesystem. In default Docker deployments, the application runs as root and the none authentication provider allows the acquisition of JWT tokens without credentials via the POST /auth/login endpoint, enabling network-adjacent attackers to achieve arbitrary file write and remote code execution. The archive controller also lacks permission checks and path traversal protection across its endpoints, including POST /api/archive/unzip.
Recommendations Update DbGate to version 7.1.9. As a temporary mitigation, restrict access to the POST /api/archive/unzip endpoint and avoid using the unzipDirectory() function until the update is applied.

Exploit

Fix

RCE

Path traversal

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-47669
GHSA-H535-J5HR-MV56

Affected Products

Dbgate