CVE-2026-45695

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

Published Jul 16, 2026 CVSS 3.1 · 9.8 Critical EPSS 1.6% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-2q4c-3mrw-63c3 Kopia: RCE via SSH ProxyCommand Injection
History
Type Values Removed Values Added
First Time appeared Kopia
Kopia kopia
Vendors & Products Kopia
Kopia kopia
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Kopia: Unauthenticated RCE via SSH ProxyCommand Injection when --insecure --without-password is used
Weaknesses CWE-306
CWE-78
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 16, 2026, 6:08 PM
Reserved
May 13, 2026, 4:38 AM
Status
Deferred
Published
Jul 16, 2026, 4:19 PM
Modified
Jul 16, 2026, 7:16 PM