Improper access control in libssh - CVE-2025-14821
Published: July 27, 2026
Vulnerability details
The vulnerability allows a local user to manipulate trusted SSH configuration and host key data to compromise connection security.
The vulnerability exists due to improper access control in the global configuration file loading behavior on Windows when loading configuration files and ssh_known_hosts from the C:\etc directory. A local user can create attacker-controlled files in that directory to manipulate trusted SSH configuration and host key data to compromise connection security.
This issue occurs when libssh is built with default configure options on Windows.