{"answers":{"affected":"2 open source packages ship an affected version, including dbgate.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-47669 exists.","fix":"Upgrade dbgate to 7.1.9 or later.","what":"CVE-2026-47669 is a critical path traversal vulnerability in dbgate, published on 23 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-47669 and fix it if it is affected.\n\nWhat it is: CVE-2026-47669 is a critical path traversal vulnerability in dbgate, published on 23 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-47669 exists.\n\nAffected packages and fixed versions:\n- dbgate (npm): affected all versions; fixed in 7.1.9\n- dbgate (npm): affected all versions; fixed in 7.1.9\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-47669/ (Markdown: https://insights.sbomify.com/CVE-2026-47669/index.md)","id":"CVE-2026-47669","markdown":"https://insights.sbomify.com/CVE-2026-47669/index.md","name":"CVE-2026-47669","record":{"aliases":["GHSA-h535-j5hr-mv56"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Database management tool","requires_auth":"none","summary":"A path traversal vulnerability in DbGate allows attackers to write arbitrary files via malicious ZIP archives, potentially leading to remote code execution.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":9.3,"severity":"critical","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"DbGate: Zip Slip in archive/unzip allows arbitrary file write leading to RCE","id":"CVE-2026-47669","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":2,"n_references":2,"next":{"headline":"DbGate Vulnerable to Authenticated Remote Code Execution via loadReader functionName code injection","id":"CVE-2026-47670"},"packages":[{"ecosystem":"npm","fixed":["7.1.9"],"introduced":["0"],"last_affected":[],"package":"dbgate","purl":null,"source":"GHSA-h535-j5hr-mv56"},{"ecosystem":"npm","fixed":["7.1.9"],"introduced":["0"],"last_affected":[],"package":"dbgate","purl":"pkg:npm/dbgate","source":"GHSA-h535-j5hr-mv56"}],"prev":{"headline":"DbGate: Unauthenticated Remote Code Execution via JSON Script Runner","id":"CVE-2026-47668"},"products":["dbgate"],"published":"2026-07-23","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-07-24","vendors":["dbgate"]},"summary":"A path traversal vulnerability in DbGate allows attackers to write arbitrary files via malicious ZIP archives, potentially leading to remote code execution.","url":"https://insights.sbomify.com/CVE-2026-47669/"}