CVE-2026-45695: 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=<cmd> can cause exec.CommandContext("ssh") to invoke the command through OpenSSH. This issue is fixed in version 0.23.0.
Security readout for executives and security teams
Plain-English summary
Kopia versions before 0.23.0 can allow unauthenticated remote code execution when its HTTP server is run in an unsafe no-password mode. This matters because Kopia handles backups; compromise could expose, alter, or destroy backup data and the host running the service.
Executive priority
Treat this as urgent for any exposed Kopia backup service. Prioritize internet-facing or broadly reachable instances first, because the vulnerable configuration can permit full host compromise without credentials.
Technical view
The issue combines missing authentication with command injection. An unauthenticated request can submit SFTP storage configuration that reaches Kopia storage creation logic. With external SSH enabled, attacker-controlled SSH options can cause the underlying ssh invocation to run unintended commands. Sources list CWE-306 and CWE-78.
Likely exposure
Exposure is most likely where Kopia <0.23.0 runs an HTTP server using --without-password, especially with --insecure or network reachability beyond localhost. Systems not running the HTTP server in that mode are not shown as affected by the provided sources.
Exploitation context
The provided bundle does not show CISA KEV listing or confirmed active exploitation. The CVSS 9.8 rating reflects unauthenticated network exploitation with high confidentiality, integrity, and availability impact when the unsafe server mode is present.
Researcher notes
Key boundaries are version <0.23.0 and HTTP server operation with no password. The source bundle identifies the vulnerable request path and storage configuration flow, but validation should avoid live exploit attempts and focus on configuration, version, and exposure evidence.
Mitigation direction
Upgrade Kopia to version 0.23.0 or later.
Remove --without-password from any Kopia HTTP server configuration.
Avoid --insecure unless vendor guidance explicitly requires it.
Restrict Kopia HTTP server access to trusted hosts or localhost.
Review the Kopia advisory and release notes for vendor-specific guidance.
Validation and detection
Inventory Kopia installations and record exact versions.
Review service definitions, scripts, and containers for --without-password and --insecure.
Confirm Kopia HTTP endpoints are not exposed to untrusted networks.
Check logs for unexpected unauthenticated repository existence requests.
Verify upgraded hosts report Kopia 0.23.0 or later.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-306: Credential and account abuse lookup
Authentication and credential weaknesses can make valid-account abuse and credential telemetry useful review starting points. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Command injection weaknesses can lead defenders to review execution techniques and command interpreter telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
The CVE wording references authentication or credential exposure, so valid-account and credential-access review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
1ADP providers
5Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: yesTechnical Impact: total
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-306 · source CWE mapping
Missing Authentication for Critical Function
Missing Authentication for Critical Function represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.