# CVE-2026-0964: Libssh: improper sanitation of paths received from scp servers

- Severity: Medium 5.0 (CVSS:3.0, scored by redhat) `CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 42% of CVEs (2026-12-01)
- Published: 2026-03-26T20:06:28.871Z
- Modified: 2026-11-26T04:43:30.666Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## Description

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.

(As written by CVE List.)

## Affected

- libssh: no versions given (not affected: from 0:0.12.0-2.el10 before *; from 0:0.10.4-18.el9 before *)
- libssh2: no versions given
- openshift/ose-rhel-coreos-8: no versions given
- openshift/ose-rhel-coreos-9: no versions given
- libssh libssh: before 0.11.4
- redhat hardened_images: no versions given
- redhat openshift_container_platform: 4.0
- redhat enterprise_linux: 8.0; 9.0; 10.0

## Every score

- redhat: CVSS:3.0 5.0 Medium `CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L`
- NVD: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L`

## References

- <https://access.redhat.com/errata/RHSA-2026:18160> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:18683> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2026-0964> (mitigation, vdb-entry, vendor-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2436979> (issue-tracking, vendor-advisory)
- <https://www.libssh.org/2026/02/10/libssh-0-12-0-and-0-11-4-security-releases/> (release-notes)

## Sources

- CVE List: [CVE-2026-0964](https://www.cve.org/CVERecord?id=CVE-2026-0964), CVE Terms of Use, modified 2026-11-26
- NVD: [CVE-2026-0964](https://nvd.nist.gov/vuln/detail/CVE-2026-0964), Public domain, modified 2026-11-24

---

Page: https://cve.day/CVE-2026-0964 · Whole record: https://cve.day/CVE-2026-0964.json · Rebuilt by cve.day 2026-11-26T04:57:06.971Z
