CVE-2026-45695
CRITICAL 9.8CVSS 3.1Kopia: RCE via SSH ProxyCommand Injection
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.
- Published
- 16 Jul 2026
- Last modified
- 16 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-306CWE-78
- Also known as
- GHSA-2q4c-3mrw-63c3GO-2026-5009
- Sources
- NVDJSONOSV GHSA-2q4c-3mrw-63c3JSONOSV GO-2026-5009JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/kopia/kopia | < 0.23.0 | 0.23.0 |
References
- https://github.com/kopia/kopia/commit/c26c6a1b9734c5089217986ffa5cd19f8a6b8900
- https://github.com/kopia/kopia/pull/5354 · WEB, FIX
- https://github.com/kopia/kopia/releases/tag/v0.23.0
- https://github.com/kopia/kopia/security/advisories/GHSA-2q4c-3mrw-63c3 · WEB, ADVISORY
- https://github.com/kopia/kopia · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 16 Jul 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 20 May 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 19 May 2026)