{"id":"CVE-2026-47669","published":"2026-07-23T19:13:15Z","modified":"2026-07-24T20:09:54Z","title":"DbGate: Zip Slip in archive/unzip allows arbitrary file write leading to RCE","vendor":"dbgate","product":"dbgate","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.3,"severity":"CRITICAL","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00515,"percentile":0.44792,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/dbgate/dbgate/security/advisories/GHSA-h535-j5hr-mv56","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/dbgate/dbgate/releases/tag/v7.1.9","tags":["x_refsource_MISC"]}],"priority":{"score":15.5,"factors":[{"name":"EPSS percentile","points":8.96},{"name":"CVSS severity","points":6.51}]},"vendorSlug":"dbgate","affectedVersions":[{"vendor":"dbgate","product":"dbgate","versions":["< 7.1.9"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-07-24T03:56:33.656165Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"dbgate","vulnerableRanges":["<7.1.9"],"patched":["7.1.9"],"from":["GHSA-h535-j5hr-mv56"],"provenance":"source"}],"summary":{"text":"DbGate's unzipDirectory() function in packages/api/src/shell/unzipDirectory.js fails to confirm that extracted archive entries stay inside the target directory, so path traversal in the ZIP handling lets files be written to arbitrary locations on the filesystem. An unauthenticated attacker with network access to a default Docker deployment (which runs as root with the none auth provider) can obtain a token via POST /auth/login and then supply a malicious ZIP containing ../ entries to write files anywhere, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:26:16Z"},"euvd":{"id":"EUVD-2026-48377","exploited":false,"provenance":"source"}}