CVE-2026-47669: DbGate path traversal in unzipDirectory archive extraction

CVE-2026-47669 · Severity: critical · CVSS 4 · Published 2026-07-23

DbGate is a database management tool used to connect to and administer various database systems. A security flaw in its file extraction process allows an attacker to write malicious files anywhere on the server's filesystem. In common setups, this can lead to a complete takeover of the application and the underlying server, potentially exposing sensitive database credentials and customer data.

Technologies: DbGate. Vendors: DbGate, npm.

Quick answers

Is CVE-2026-47669 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-47669 being exploited in the wild.
How severe is CVE-2026-47669?
Critical severity, with a CVSS score of 4, published 23 July 2026.
Which products and versions are affected?
DbGate <= 7.1.8; dbgate (npm) SEMVER:introduced=0,fixed=7.1.9.
Is there a fix for CVE-2026-47669?
Yes. dbgate (npm): upgrade to 7.1.9 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-47669 attacked?
It is attacked over the network, in a network appliance.
Am I affected by CVE-2026-47669?
Check whether you run DbGate or dbgate (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • dbgate (npm): upgrade to 7.1.9 or later
    npm install dbgate@7.1.9

Technical details

A 'Zip Slip' path traversal vulnerability exists in the `unzipDirectory()` function within `packages/api/src/shell/unzipDirectory.js`. The function fails to validate that extracted file paths remain within the intended output directory, allowing a malicious ZIP archive containing `../` sequences to write files to arbitrary locations. In default Docker deployments, the application runs as root and uses a 'none' authentication provider that issues JWT tokens without credentials. An attacker can exploit this by uploading a crafted ZIP and triggering the unzip endpoint to achieve remote code execution (e.g., by writing to `/etc/cron.d/`). The issue is fixed in version 7.1.9.

Affected products

  • DbGate DbGate <= 7.1.8

Identifiers

  • CVE-2026-47669
  • GHSA-h535-j5hr-mv56

Timeline

  • 2026-04-22: patched: Version 7.1.9 released
  • 2026-05-20: advisory: GitHub Security Advisory published
  • 2026-07-23: disclosed: CVE published to NVD

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.