{"id":"CVE-2026-45695","state":"PUBLISHED","title":"Kopia: Unauthenticated RCE via SSH ProxyCommand Injection when --insecure --without-password is used","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=<cmd> can cause exec.CommandContext(\"ssh\") to invoke the command through OpenSSH. This issue is fixed in version 0.23.0.","publishedAt":"2026-07-16T15:42:31.795Z","updatedAt":"2026-07-16T18:08:13.371Z","severity":{"score":9.8,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["kopia kopia"],"affected":[{"vendor":"kopia","product":"kopia","versions":[{"version":"< 0.23.0","status":"affected"}]}],"references":["https://github.com/kopia/kopia/security/advisories/GHSA-2q4c-3mrw-63c3","https://github.com/kopia/kopia/pull/5354","https://github.com/kopia/kopia/commit/c26c6a1b9734c5089217986ffa5cd19f8a6b8900","https://github.com/kopia/kopia/releases/tag/v0.23.0"],"weaknesses":["CWE-78","CWE-306"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/45xxx/CVE-2026-45695.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-45695","state":"PUBLISHED","datePublished":"2026-07-16T15:42:31.795Z","dateUpdated":"2026-07-16T18:08:13.371Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-05-13T04:38:01.164Z"},"containers":{"cna":{"title":"Kopia: Unauthenticated RCE via SSH ProxyCommand Injection when --insecure --without-password is used","descriptions":[{"lang":"en","value":"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=<cmd> can cause exec.CommandContext(\"ssh\") to invoke the command through OpenSSH. This issue is fixed in version 0.23.0."}],"affected":[{"vendor":"kopia","product":"kopia","versions":[{"version":"< 0.23.0","status":"affected"}]}],"references":[{"url":"https://github.com/kopia/kopia/security/advisories/GHSA-2q4c-3mrw-63c3","name":"https://github.com/kopia/kopia/security/advisories/GHSA-2q4c-3mrw-63c3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/kopia/kopia/pull/5354","name":"https://github.com/kopia/kopia/pull/5354","tags":["x_refsource_MISC"]},{"url":"https://github.com/kopia/kopia/commit/c26c6a1b9734c5089217986ffa5cd19f8a6b8900","name":"https://github.com/kopia/kopia/commit/c26c6a1b9734c5089217986ffa5cd19f8a6b8900","tags":["x_refsource_MISC"]},{"url":"https://github.com/kopia/kopia/releases/tag/v0.23.0","name":"https://github.com/kopia/kopia/releases/tag/v0.23.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","lang":"en","description":"CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-306","lang":"en","description":"CWE-306: Missing Authentication for Critical Function","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-07-16T15:42:31.795Z"},"source":{"advisory":"GHSA-2q4c-3mrw-63c3","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-16T18:06:25.174976Z","id":"CVE-2026-45695","options":[{"Exploitation":"none"},{"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-16T18:08:13.371Z"}}]}}}