Skip to main content
← All vulnerabilities
CVE-2026-45695GHSA-2Q4C-3MRW-63C3GO-2026-5009

Kopia: Unauthenticated RCE via SSH ProxyCommand Injection when --insecure --without-password is used

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.23.0
1 Nuclei template
  • Exploitation: none
  • Automatable: yes
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • kopia kopia

    fixed in 0.23.0

  • github.com/kopia/kopiaGo

    fixed in 0.23.0

References 5

GitHub · kopia/kopia

GitHub · projectdiscovery/nuclei-templates