CVE-2025-14821
Libssh: libssh: insecure default configuration leads to local man-in-the-middle attacks on windows
CVSS Score
7.8
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-427 |
| Vendor | red hat |
| Product | red hat hardened images |
| Published | Apr 7, 2026 |
| Last Updated | Apr 28, 2026 |
Stay Ahead of the Next One
Get instant alerts for red hat red hat hardened images
Be the first to know when new high vulnerabilities affecting red hat red hat hardened images are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Affected Versions
Red Hat / Red Hat Hardened Images
All versions affected Red Hat / Red Hat Enterprise Linux 10
All versions affected Red Hat / Red Hat Enterprise Linux 6
All versions affected Red Hat / Red Hat Enterprise Linux 7
All versions affected Red Hat / Red Hat Enterprise Linux 8
All versions affected Red Hat / Red Hat Enterprise Linux 9
All versions affected Red Hat / Red Hat OpenShift Container Platform 4
All versions affected References
access.redhat.com: https://access.redhat.com/errata/RHSA-2026:7067 access.redhat.com: https://access.redhat.com/security/cve/CVE-2025-14821 bugzilla.redhat.com: https://bugzilla.redhat.com/show_bug.cgi?id=2423148 libssh.org: https://www.libssh.org/2026/02/10/libssh-0-12-0-and-0-11-4-security-releases/
Credits
Red Hat would like to thank Martin Grubhofer for reporting this issue.