{"answers":{"affected":"3 open source packages ship an affected version, including github.com/kopia/kopia.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-45695 exists.","fix":"Upgrade github.com/kopia/kopia to 0.23.0 or later.","what":"CVE-2026-45695 is a critical command injection vulnerability in kopia, published on 16 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-45695 and fix it if it is affected.\n\nWhat it is: CVE-2026-45695 is a critical command injection vulnerability in kopia, published on 16 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-45695 exists.\n\nAffected packages and fixed versions:\n- github.com/kopia/kopia (Go): affected all versions; fixed in 0.23.0\n- github.com/kopia/kopia (Go): affected all versions; fixed in 0.23.0\n- github.com/kopia/kopia (Go): affected all versions; fixed in 0.23.0\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-45695/ (Markdown: https://insights.sbomify.com/CVE-2026-45695/index.md)","id":"CVE-2026-45695","markdown":"https://insights.sbomify.com/CVE-2026-45695/index.md","name":"CVE-2026-45695","record":{"aliases":["GHSA-2q4c-3mrw-63c3","GO-2026-5009"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"Kopia backup tool","requires_auth":"none","summary":"Unauthenticated attackers can execute arbitrary commands via SSH ProxyCommand injection when Kopia's HTTP server is configured with --insecure and --without-password.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":9.8,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"},{"id":"CWE-306","name":"Missing Authentication for Critical Functionality"}],"description":"Kopia is a cross-platform backup tool for Windows, macOS, and Linux with fast incremental backups, client-side end-to-end encryption, compression, and data deduplication. Prior to 0.23.0, Kopia's HTTP server started with --without-password accepts unauthenticated requests to /api/v1/repo/exists and forwards attacker-supplied SFTP storage configuration to blob.NewStorage, where externalSSH: true and sshArguments containing -oProxyCommand=\u003ccmd\u003e can cause exec.CommandContext(\"ssh\") to invoke the command through OpenSSH. This issue is fixed in version 0.23.0.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":null,"kind":"nuclei","ref":"http/cves/2026/CVE-2026-45695.yaml","stars":null,"title":"Kopia Server 0.23.0 - Remote Code Execution"}],"tier":"weaponised"},"has_fix":true,"headline":"Kopia: Unauthenticated RCE via SSH ProxyCommand Injection when --insecure --without-password is used","id":"CVE-2026-45695","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"command_injection","year":"2026"},"n_packages":3,"n_references":4,"next":{"headline":"OpenEXR HTJ2K decoder heap buffer over-read in ht_undo_impl() (DoS)","id":"CVE-2026-45696"},"packages":[{"ecosystem":"Go","fixed":["0.23.0"],"introduced":["0"],"last_affected":[],"package":"github.com/kopia/kopia","purl":null,"source":"GHSA-2q4c-3mrw-63c3"},{"ecosystem":"Go","fixed":["0.23.0"],"introduced":["0"],"last_affected":[],"package":"github.com/kopia/kopia","purl":"pkg:golang/github.com/kopia/kopia","source":"GHSA-2q4c-3mrw-63c3"},{"ecosystem":"Go","fixed":["0.23.0"],"introduced":["0"],"last_affected":[],"package":"github.com/kopia/kopia","purl":"pkg:golang/github.com/kopia/kopia","source":"GO-2026-5009"}],"prev":{"headline":"LibreNMS: Reflected XSS in the Proxmox app view via unsanitized instance/vmid parameters","id":"CVE-2026-45694"},"products":["kopia"],"published":"2026-07-16","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":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-07-16","vendors":["kopia"]},"summary":"Unauthenticated attackers can execute arbitrary commands via SSH ProxyCommand injection when Kopia's HTTP server is configured with --insecure and --without-password.","url":"https://insights.sbomify.com/CVE-2026-45695/"}