Kopia: Unauthenticated RCE via SSH ProxyCommand Injection when --insecure --without-password is used
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass, Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 2 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-306 and CWE-78.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| kopia | kopia | before 0.23.0 | 0.23.0 | Patch available | CNA |
| — | github.com/kopia/kopia (Go) | before 0.23.0 | 0.23.0 | Patch available | GHSA-2q4c-3mrw-63c3 |
- kopia Vendorkopia Affected before 0.23.0 Fixed in 0.23.0 Patch available CNA
- github.com/kopia/kopia (Go) Vendor— Affected before 0.23.0 Fixed in 0.23.0 Patch available GHSA-2q4c-3mrw-63c3
Remediation
- Fix · CNA kopia (kopia) Fixed in 0.23.0
- Fix · GHSA-2q4c-3mrw-63c3 github.com/kopia/kopia (Go) Fixed in 0.23.0 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Migration Toolkit for Containers | Affected | No fix yet: Fix deferred |
| OpenShift API for Data Protection | Affected | No fix yet: Fix deferred |
Timeline
- 2026-10-02 Threatist record created from CVE-2026-45695
- 2026-10-03 Alias added: GHSA-2q4c-3mrw-63c3
References
More kopia vulnerabilities
- TI-2026-86089 Kopia Path Traversal in Snapshot Restore via Directory Entry Names CVSS 4.0MEDIUM 6.9
Sources
- CVE-2026-45695 · CVE Program
- CVE-2026-45695 · NVD
- FIRST EPSS
- GHSA-2q4c-3mrw-63c3 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-45695 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences