# CVE-2026-45695: Kopia: Unauthenticated RCE via SSH ProxyCommand Injection when --insecure --without-password is used

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.41%, higher than 73% of CVEs (2026-12-01)
- Published: 2026-05-19T19:18:32.000Z
- Modified: 2026-07-16T19:16:45.527Z
- Also known as: GHSA-2q4c-3mrw-63c3, GO-2026-5009
- Weaknesses: CWE-78, CWE-306
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- kopia kopia: < 0.23.0
- github.com/kopia/kopia (Go): before 0.23.0

## Every score

- GitHub_M: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/kopia/kopia/security/advisories/GHSA-2q4c-3mrw-63c3> (advisory, web)
- <https://github.com/kopia/kopia/pull/5354> (fix, web)
- <https://github.com/kopia/kopia/commit/c26c6a1b9734c5089217986ffa5cd19f8a6b8900>
- <https://github.com/kopia/kopia/releases/tag/v0.23.0>
- <https://github.com/kopia/kopia> (package)

## Sources

- CVE List: [CVE-2026-45695](https://www.cve.org/CVERecord?id=CVE-2026-45695), CVE Terms of Use, modified 2026-07-16
- GitHub Advisory Database: [GHSA-2q4c-3mrw-63c3](https://github.com/advisories/GHSA-2q4c-3mrw-63c3), CC-BY-4.0, modified 2026-06-02
- Go Vulnerability Database: [GO-2026-5009](https://pkg.go.dev/vuln/GO-2026-5009), CC-BY-4.0, modified 2026-05-20
- NVD: [CVE-2026-45695](https://nvd.nist.gov/vuln/detail/CVE-2026-45695), Public domain, modified 2026-07-16

---

Page: https://cve.day/CVE-2026-45695 · Whole record: https://cve.day/CVE-2026-45695.json · Rebuilt by cve.day 2026-11-25T22:59:28.391Z
