{"id":"CVE-2026-45695","published":"2026-07-16T15:42:31Z","modified":"2026-07-16T18:08:13Z","title":"Kopia: Unauthenticated RCE via SSH ProxyCommand Injection when --insecure --without-password is used","vendor":"kopia","product":"kopia","tier":"core","eol":null,"affectedVersions":[{"vendor":"kopia","product":"kopia","versions":["< 0.23.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-07-16T18:06:25.174976Z","from":"CISA ADP","provenance":"source"},"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"Kopia's HTTP server, when started with --without-password, contains a flaw in its handling of SFTP storage configuration, where attacker-supplied SSH arguments are passed to the ssh command without sanitisation. An unauthenticated remote attacker with network access to that server can send a request to the repository endpoint that injects an OpenSSH ProxyCommand, causing arbitrary commands to run on the host.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T00:11:40Z"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0161,"percentile":0.76296,"date":"2026-11-25","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2026-09-10","exploitedFirstSeen":"2026-09-10","ransomware":false,"evidence":[{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?host_type=src&vulnerability=cve-2026-45695","date":"2026-09-10"}],"evidenceTotal":1,"provenance":"source"},"exploited":true,"otx":{"pulseCount":2,"pulses":[{"name":"Known_Cve | Jul 24, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/6a62254165dd7b006b7a4b2d","created":"2026-07-23"},{"name":"Known_Cve | Jul 23, 2026 | Part 1/3","url":"https://otx.alienvault.com/pulse/6a60d50adbbf881cc99f29d3","created":"2026-07-22"}],"provenance":"machine"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"},{"id":"CWE-306","name":"Missing Authentication for Critical Functionality"}],"references":[{"url":"https://github.com/kopia/kopia/security/advisories/GHSA-2q4c-3mrw-63c3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/kopia/kopia/pull/5354","tags":["x_refsource_MISC"]},{"url":"https://github.com/kopia/kopia/commit/c26c6a1b9734c5089217986ffa5cd19f8a6b8900","tags":["x_refsource_MISC"]},{"url":"https://github.com/kopia/kopia/releases/tag/v0.23.0","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"Go","package":"github.com/kopia/kopia","vulnerableRanges":["<0.23.0"],"patched":["0.23.0"],"from":["GHSA-2q4c-3mrw-63c3","GO-2026-5009"],"provenance":"source"}],"advisories":[{"id":"GHSA-2q4c-3mrw-63c3","url":"https://github.com/advisories/GHSA-2q4c-3mrw-63c3","severity":"CRITICAL","ecosystem":"Go","package":"github.com/kopia/kopia","vulnerableRanges":["<0.23.0"],"patched":["0.23.0"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2026-44948","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-44948","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"nuclei":[{"id":"CVE-2026-45695","name":"Kopia Server 0.23.0 - Remote Code Execution","severity":"critical","path":"http/cves/2026/CVE-2026-45695.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-45695.yaml"}],"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2026-07-16","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2026-45695","provenance":"source"},{"date":"2026-09-10","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?host_type=src&vulnerability=cve-2026-45695","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":73.2,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":10.0,"detail":"added 76 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":15.26,"detail":"percentile 0.7630"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 nuclei template"},{"name":"Mentioned in OTX pulses","points":1.08,"detail":"2 pulses"},{"name":"CVSS severity","points":6.86,"detail":"base score 9.8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}