What’s Vulnerable › Vulnerabilities

CVE-2025-14821: Libssh: libssh: insecure default configuration leads to local man-in-the-middle attacks on windows

Description

A flaw was found in libssh. This vulnerability allows local man-in-the-middle attacks, security downgrades of SSH (Secure Shell) connections, and manipulation of trusted host information, posing a significant risk to the confidentiality, integrity, and availability of SSH communications via an insecure default configuration on Windows systems where the library automatically loads configuration files from the C:\etc directory, which can be created and modified by unprivileged local users.

Affected products

How to fix

Upgrade to a fixed version: libssh 0.12.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-14821 or the next vulnerability affects your stack