CVE-2026-45695 Kopia: Unauthenticated RCE via SSH ProxyCommand Injection when --insecure --without-password is used
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: total
- Technology
- Red Hat
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.
Upgrade path
7 packages: 1 fixed, 5 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/oadp/oadp-kubevirt-velero-plugin-rhel9(Red Hat openshift_api_data_protection 1) | All versions | No fix listed | No fix yet |
| redhat/oadp/oadp-mustgather-rhel9(Red Hat openshift_api_data_protection 1) | All versions | No fix listed | No fix yet |
| redhat/oadp/oadp-rhel9-operator(Red Hat openshift_api_data_protection 1) | All versions | No fix listed | No fix yet |
| redhat/oadp/oadp-velero-plugin-for-csi-rhel9(Red Hat openshift_api_data_protection 1) | All versions | No fix listed | No fix yet |
| redhat/rhmtc/openshift-migration-velero-plugin-for-mtc-rhel8(Red Hat rhmt 1) | All versions | No fix listed | No fix yet |
| kopia(Go) | < 0.23.0; <= 0.22.3 | 0.23.0 | Fixed |
| kopia | = < 0.23.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| kopia | = < 0.23.0 | No fix listed |
| kopia(Go) | < 0.23.0 | 0.23.0 |
| redhat/rhmtc/openshift-migration-velero-plugin-for-mtc-rhel8(Red Hat:rhmt:1) | All versions | No fix listed |
| redhat/oadp/oadp-kubevirt-velero-plugin-rhel9(Red Hat:openshift_api_data_protection:1) | All versions | No fix listed |
| redhat/oadp/oadp-mustgather-rhel9(Red Hat:openshift_api_data_protection:1) | All versions | No fix listed |
| redhat/oadp/oadp-rhel9-operator(Red Hat:openshift_api_data_protection:1) | All versions | No fix listed |
| redhat/oadp/oadp-velero-plugin-for-csi-rhel9(Red Hat:openshift_api_data_protection:1) | All versions | No fix listed |
| kopia(Go) | <= 0.22.3 | No fix listed |
References
- https://github.com/kopia/kopia/security/advisories/GHSA-2q4c-3mrw-63c3 vendor-advisory
- https://github.com/kopia/kopia/pull/5354 patch
- https://github.com/kopia/kopia/commit/c26c6a1b9734c5089217986ffa5cd19f8a6b8900
- https://github.com/kopia/kopia/releases/tag/v0.23.0
- github.com product
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2501364 issue-tracking
- www.cve.org
- nvd.nist.gov
- github.com