Kopia: Unauthenticated RCE via SSH ProxyCommand Injection when --insecure --without-password is used
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= can cause exec.CommandContext("ssh") to invoke the command through OpenSSH. This issue is fixed in version 0.23.0.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-45695
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 18:02 UTC · Revision 1
Source evidence
Kopia: Unauthenticated RCE via SSH ProxyCommand Injection when --insecure --without-password is used
core-osv · Original sourcePublished 16 Jul 2026, 15:42 UTC
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= can cause exec.CommandContext("ssh") to invoke the command through OpenSSH. This issue is fixed in version 0.23.0.
osv:CVE-2026-45695
Complete source record
{
"id": "04239106f63b5f1a0d947402faeadd83fc03db57fb0e3e6a1f741b6374a4266d",
"url": "https://osv.dev/vulnerability/CVE-2026-45695",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Kopia: Unauthenticated RCE via SSH ProxyCommand Injection when --insecure --without-password is used",
"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= can cause exec.CommandContext(\"ssh\") to invoke the command through OpenSSH. This issue is fixed in version 0.23.0.",
"evidence": "osv:CVE-2026-45695",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2026-45695",
"aliases": [
"CVE-2026-45695",
"GHSA-2q4c-3mrw-63c3",
"GO-2026-5009"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/kopia/kopia",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "981d5f95ad7b64f834c46b7ac244d524644fbb46"
},
{
"fixed": "c26c6a1b9734c5089217986ffa5cd19f8a6b8900"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "0.23.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "c26c6a1b9734c5089217986ffa5cd19f8a6b8900"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "981d5f95ad7b64f834c46b7ac244d524644fbb46"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v0.23.0"
}
]
}
}
],
"versions": [
"v0.22.3",
"v0.22.2",
"v0.22.1",
"v0.22.0",
"v0.21.1",
"v0.21.0",
"v0.20.1",
"v0.20.0",
"v0.19.0",
"v0.18.2",
"v0.18.1",
"v0.18.0",
"v0.17.0",
"v0.16.1",
"v0.16.0",
"v0.15.0",
"v0.14.1",
"v0.14.0",
"v0.13.0",
"v0.13.0-rc2",
"v0.13.0-rc1",
"v0.12.1",
"v0.12.0",
"v0.11.3",
"v0.11.2",
"v0.11.1",
"v0.11.0",
"v0.10.7",
"v0.10.6",
"v0.10.5",
"v0.10.4",
"v0.10.3",
"v0.10.2",
"v0.10.1",
"v0.10.0",
"v0.9.8",
"v0.9.7",
"v0.9.6",
"v0.9.5",
"v0.9.4",
"v0.9.3",
"v0.9.2",
"v0.9.1",
"v0.9.0",
"v0.9.0-rc4",
"v0.9.0-rc3",
"v0.9.0-rc2",
"v0.9.0-rc1",
"v0.8.1",
"v0.8.0",
"v0.7.3",
"v0.7.2",
"v0.7.1",
"v0.7.0",
"v0.7.0-rc2",
"v0.7.0-rc1",
"v0.6.0",
"v0.6.1",
"v0.6.0-rc4",
"v0.6.0-rc3",
"v0.6.0-rc2",
"v0.6.0-rc1",
"0.5.0",
"0.5.0-rc1",
"v0.4.0",
"v0.3.0",
"v0.3.0-rc6",
"v0.3.0-rc5",
"v0.3.0-rc4",
"v0.3.0-rc1",
"v0.3.0-pre10",
"v0.3.0-pre9",
"v0.3.0-pre8",
"v0.3.0-pre7",
"v0.3.0-pre6",
"v0.3.0-pre5",
"v0.3.0-pre2"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45695.json"
}
}
],
"modified": "2026-10-28T02:30:30.860809427Z",
"provider": "osv",
"references": [
"https://github.com/kopia/kopia/releases/tag/v0.23.0",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45695.json",
"https://github.com/kopia/kopia/security/advisories/GHSA-2q4c-3mrw-63c3",
"https://nvd.nist.gov/vuln/detail/CVE-2026-45695",
"https://github.com/kopia/kopia/commit/c26c6a1b9734c5089217986ffa5cd19f8a6b8900",
"https://github.com/kopia/kopia/pull/5354"
],
"provider_metadata": {
"cwe_ids": [
"CWE-306",
"CWE-78"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45695.json"
}
},
"related_cves": [
{
"value": "CVE-2026-45695",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 498116,
"published_at": "2026-07-16T15:42:31.795+00:00"
}