Skip to content
OpenAdvisories
Critical · 9.8 Scanner template CVE-2026-45695 EUVD-2026-44948GHSA-2q4c-3mrw-63c3GO-2026-5009

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

Published Jul 16, 2026 · Updated Jul 16, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
kopia kopia < 0.23.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/kopia/kopia < 0.23.0 0.23.0 GHSA-2q4c-3mrw-63c3

Advisories 1

References