---
id: CVE-2026-0964
title: |-
  A malicious SCP server can send unexpected paths that could make the
  client application override local files outside of working directory.
  This could be misused to create malicious executable or configuration
  files and make the user exec…
summary: |-
  A malicious SCP server can send unexpected paths that could make the
  client application override local files outside of working directory.
  This could be misused to create malicious executable or configuration
  files and make the user exec…
severity: medium
cvss: 6.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L'
cwe:
  - CWE-22
vendor: libssh
product: libssh
affected:
  - libssh < 0.11.4
  - hardened_images
  - openshift_container_platform = 4.0
  - enterprise_linux = 8.0
  - enterprise_linux = 9.0
  - enterprise_linux = 10.0
patched:
  - libssh 0.11.4
published: '2026-03-26'
updated: '2026-08-21'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-0964'
references:
  - url: 'https://access.redhat.com/errata/RHSA-2026:18160'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:18683'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/security/cve/CVE-2026-0964'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2436979'
    label: secalert@redhat.com
  - url: >-
      https://www.libssh.org/2026/02/10/libssh-0-12-0-and-0-11-4-security-releases/
    label: secalert@redhat.com
tags:
  - nvd
epss: 0.00408
epssPercentile: 0.32272
ingestedAt: '2026-08-21T13:17:18.752Z'
---

## Overview

A malicious SCP server can send unexpected paths that could make the
client application override local files outside of working directory.
This could be misused to create malicious executable or configuration
files and make the user execute them under specific consequences.

This is the same issue as in OpenSSH, tracked as CVE-2019-6111.

## Affected

- `libssh < 0.11.4`
- `hardened_images`
- `openshift_container_platform = 4.0`
- `enterprise_linux = 8.0`
- `enterprise_linux = 9.0`
- `enterprise_linux = 10.0`

## Remediation

Upgrade past the affected range:

- `libssh 0.11.4`
