# CVE-2026-47669: DbGate: Zip Slip in archive/unzip allows arbitrary file write leading to RCE

- Severity: Critical 9.3 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.52%, higher than 37% of CVEs (2026-11-30)
- Published: 2026-06-05T16:26:01.000Z
- Modified: 2026-07-28T16:17:16.127Z
- Also known as: GHSA-h535-j5hr-mv56
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- dbgate dbgate: < 7.1.9
- dbgate (npm): before 7.1.9

## Every score

- GitHub_M: CVSS:4.0 9.3 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`

## References

- <https://github.com/dbgate/dbgate/security/advisories/GHSA-h535-j5hr-mv56> (web)
- <https://github.com/dbgate/dbgate/releases/tag/v7.1.9> (web)
- <https://github.com/dbgate/dbgate> (package)

## Sources

- CVE List: [CVE-2026-47669](https://www.cve.org/CVERecord?id=CVE-2026-47669), CVE Terms of Use, modified 2026-07-24
- GitHub Advisory Database: [GHSA-h535-j5hr-mv56](https://github.com/advisories/GHSA-h535-j5hr-mv56), CC-BY-4.0, modified 2026-06-05
- NVD: [CVE-2026-47669](https://nvd.nist.gov/vuln/detail/CVE-2026-47669), Public domain, modified 2026-07-28

---

Page: https://cve.day/CVE-2026-47669 · Whole record: https://cve.day/CVE-2026-47669.json · Rebuilt by cve.day 2026-11-25T22:59:29.949Z
