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

Published Feb 4, 2026
·
Updated

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.

Other sources

Libssh: improper sanitation of paths received from scp servers

— Microsoft

Affected Software

19 affected componentsFixes available
libssh libssh
Microsoft azl3 libssh 0.10.6-5
Microsoft azl3 libssh 0.10.6-6
Microsoft azl3 libssh 0.10.6-6<0.10.6-7
0.10.6-7
Microsoft azl3 libssh 0.10.6-7<0.10.6-7
0.10.6-7
Microsoft cbl2 libssh 0.10.6-5<0.10.6-6
0.10.6-6
Microsoft azl3 libssh 0.10.6-5<0.10.6-6
0.10.6-6
alpine/libssh<0.11.4-r0
0.11.4-r0
alpine/libssh<0.12.0-r0
0.12.0-r0
libssh libssh<0.11.4
redhat Hardened Images
redhat OpenShift Container Platform=4.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
redhat Enterprise Linux=10.0
debian/libssh<0.10.6-0+deb12u3
0.10.6-0+deb12u3
debian/libssh<0.11.5-0+deb13u1
0.11.5-0+deb13u1
debian/libssh<0.12.0-1
0.12.0-1
debian/libssh<=0.10.6-0+deb12u2
0.10.6-0+deb12u30.11.5-0+deb13u10.12.2-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 0.10.6-7
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 0.10.6-6
  3. Upgrade

    Upgrade alpine/libssh to a version that resolves this vulnerability.

    Fixed in 0.11.4-r0
  4. Upgrade

    Upgrade alpine/libssh to a version that resolves this vulnerability.

    Fixed in 0.12.0-r0
  5. Upgrade

    Upgrade debian/libssh to a version that resolves this vulnerability.

    Fixed in 0.10.6-0+deb12u3
  6. Upgrade

    Upgrade debian/libssh to a version that resolves this vulnerability.

    Fixed in 0.11.5-0+deb13u1
  7. Upgrade

    Upgrade debian/libssh to a version that resolves this vulnerability.

    Fixed in 0.12.0-1
  8. Upgrade

    Upgrade debian/libssh to a version that resolves this vulnerability.

    Fixed in 0.10.6-0+deb12u3Fixed in 0.11.5-0+deb13u1Fixed in 0.12.2-1

Event History

Feb 4, 2026
Data Sourced
via Red Hat·11:40 PM
DescriptionSeverityAffected Software
Mar 26, 2026
CVE Published
via MITRE·08:06 PM
Data Sourced
via MITRE·08:06 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:17 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·09:17 PM
Affected Software
Mar 31, 2026
Data Sourced
via Microsoft·08:01 AM
DescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203