CVE-2026-45695 Details
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.
A critical vulnerability allowing arbitrary command execution has been identified in Kopia, a cross-platform backup tool, in versions through 0.22.3. The issue arises when the Kopia HTTP server is started with the '--without-password' option, which allows unauthenticated requests to the '/api/v1/repo/exists' endpoint. Exploitation involves supplying a malicious SFTP storage configuration that, if 'externalSSH' is enabled, can inject commands through the SSH proxy command option. This command execution occurs via the OpenSSH command line, executed in the context of the user running the Kopia process.
Users can upgrade to Kopia version 0.23.0 or later, where this vulnerability has been patched. Instructions for downloading Kopia can be found on the Kopia GitHub Releases page.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 16, 2026CISA-ADP
Assessed Jul 16, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/kopia/kopia/commit/c26c6a1b9734c5089217986ffa5cd19f8a6b8900 | [email protected] | Source CodeVendor |
| https://github.com/kopia/kopia/pull/5354 | [email protected] | Source CodeVendor |
| https://github.com/kopia/kopia/releases/tag/v0.23.0 | [email protected] | Release NotesVendor |
| https://github.com/kopia/kopia/security/advisories/GHSA-2q4c-3mrw-63c3 | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-306 | Missing Authentication for Critical Function | [email protected] |
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Kopia | <= 0.22.3 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 16, 2026 | CVE Modified | CISA-ADP |
| Jul 16, 2026 | New CVE Received | [email protected] |
Volerion