Back to list

Kopia: RCE via SSH ProxyCommand Injection — CVE-2026-45695

GitHub · GitHub · CVE-2026-45695

ID
CVE-2026-45695
Date
Activity
Source
GitHub
Vendor
GitHub
Threat
critical
CVSS
9.8

Summary

## Summary Kopia's HTTP server, when started with `--without-password `, accepts unauthenticated requests to `/api/v1/repo/exists`. The handler forwards an attacker-supplied storage configuration to `blob.NewStorage`. For SFTP backends with `externalSSH: true`, that path constructs a process command line by splitting `sshArguments` on spaces and passes the result directly to `exec.CommandContext("ssh")`. An…

Product

go: github.com/kopia/kopia

What to do

General, cautious steps (verify details in the official source):

  • Prioritize patching or mitigation immediately (treat as actively risky).
  • Identify affected product versions in your inventory and verify whether you are impacted.
  • Apply vendor patches/updates or recommended mitigations as soon as available.
  • Read the official advisory for exact affected versions and remediation steps.

Official advisory

Related advisories