CVE-2026-0964: Libssh: improper sanitation of paths received from scp servers
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
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 0.10.6-7 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 0.10.6-6 - Upgrade
Upgrade
alpine/libsshto a version that resolves this vulnerability.Fixed in 0.11.4-r0 - Upgrade
Upgrade
alpine/libsshto a version that resolves this vulnerability.Fixed in 0.12.0-r0 - Upgrade
Upgrade
debian/libsshto a version that resolves this vulnerability.Fixed in 0.10.6-0+deb12u3 - Upgrade
Upgrade
debian/libsshto a version that resolves this vulnerability.Fixed in 0.11.5-0+deb13u1 - Upgrade
Upgrade
debian/libsshto a version that resolves this vulnerability.Fixed in 0.12.0-1 - Upgrade
Upgrade
debian/libsshto a version that resolves this vulnerability.Fixed in 0.10.6-0+deb12u3Fixed in 0.11.5-0+deb13u1Fixed in 0.12.2-1