{"id":"CVE-2026-47669","state":"PUBLISHED","title":"DbGate: Zip Slip in archive/unzip allows arbitrary file write leading to RCE","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.","publishedAt":"2026-07-23T19:13:15.469Z","updatedAt":"2026-07-24T20:09:54.441Z","severity":{"score":9.3,"label":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["dbgate dbgate"],"affected":[{"vendor":"dbgate","product":"dbgate","versions":[{"version":"< 7.1.9","status":"affected"}]}],"references":["https://github.com/dbgate/dbgate/security/advisories/GHSA-h535-j5hr-mv56","https://github.com/dbgate/dbgate/releases/tag/v7.1.9"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/47xxx/CVE-2026-47669.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-47669","state":"PUBLISHED","datePublished":"2026-07-23T19:13:15.469Z","dateUpdated":"2026-07-24T20:09:54.441Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-05-19T21:10:38.797Z"},"containers":{"cna":{"title":"DbGate: Zip Slip in archive/unzip allows arbitrary file write leading to RCE","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"dbgate","product":"dbgate","versions":[{"version":"< 7.1.9","status":"affected"}]}],"references":[{"url":"https://github.com/dbgate/dbgate/security/advisories/GHSA-h535-j5hr-mv56","name":"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","name":"https://github.com/dbgate/dbgate/releases/tag/v7.1.9","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":9.3,"baseSeverity":"CRITICAL","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-07-23T19:13:15.469Z"},"source":{"advisory":"GHSA-h535-j5hr-mv56","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-24T03:56:33.656165Z","id":"CVE-2026-47669","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-24T20:09:54.441Z"}}]}}}