Patchfirst
CVE-2026-45695 Public exploit Critical · 9.8 EPSS 1.6%

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

Fix:upgrade kopia to 0.23.0 or later Details ↓

kopia · kopia

Summary

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.

Official description · CVE.org

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.

Breakdown
73.3 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

First seen exploited 56 days after disclosure.

  1. Disclosedday 0
  2. First seen exploitedVulnCheck KEV evidence+56 days

Affected versions and fixes

as published in the CVE record

kopia kopia

Affected: < 0.23.0

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: github.com/kopia/kopia.

Gogithub.com/kopia/kopiaGHSA-2q4c-3mrw-63c3GO-2026-5009

Upgrade to 0.23.0 or later

Gogo get github.com/kopia/kopia@v0.23.0

The first fix for CVE-2026-45695. No other CVE tracked by Patchfirst affects this package.

Affected versions

If you runUpgrade to
All versions before 0.23.00.23.0

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

Also mentioned in 2 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

4 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close