← Vulnerability feed

Vulnerability record · CVE-2025-14821 · published 7 April 2026

CVE-2025-14821: Libssh uncontrolled search path element vulnerability

Libssh · Libssh

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.

7.0 CVSS 3.1 High EPSS 0.13% · top 97.8% CWE-427 · Uncontrolled search path element
7.0CVSS 3.1 base score
0.13%EPSS exploitation probability, 30 days
NoNot in CISA KEV
2Affected product versions listed by NVD
4References
31 Aug 2026Last modified by NVD

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.

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2025-14821 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2026-42010Gnutls vulnerabilityA flaw was found in gnutls. Servers configured with RSA-PSK (Rivest–Shamir–Adleman – Pre-Shared Key) wrongfully matched usernames containing a NUL ch…EPSS 0.94%9.2CVE-2026-42055F5 dos heap-based buffer overflow vulnerabilityNGINX Plus and NGINX Open Source have a vulnerability in the ngx_http_proxy_v2_module and ngx_http_grpc_module modules. This vulnerability exists whe…EPSS 2.4%9.2CVE-2026-9256F5 nginx open source heap-based buffer overflow vulnerabilityNGINX Plus and NGINX Open Source have a vulnerability in the ngx_http_rewrite_module module. This vulnerability exists when a rewrite directive uses …EPSS 2.7%9.1CVE-2018-10933libssh server authentication bypass via channel creationlibssh's server-side state machine before 0.7.6 and 0.8.4 allows a client to create channels without completing authentication, bypassing the login s…EPSS 92%analysed8.8CVE-2026-59851Libssh incorrect authorization vulnerabilityA flaw was found in libssh. On servers with GSSAPIKeyExchange enabled, the gssapi-keyex path does not verify whether the authenticated Kerberos princ…EPSS 0.49%8.8CVE-2025-5372Libssh vulnerabilityA flaw was found in libssh versions built with OpenSSL versions older than 3.0, specifically in the ssh_kdf() function responsible for key derivation…EPSS 0.47%8.8CVE-2019-14889Libssh os command injection vulnerabilityA flaw was found with the libssh API function ssh_scp_new() in versions before 0.9.3 and before 0.8.8. When the libssh SCP client connects to a serve…EPSS 3.2%8.2CVE-2026-0966Libssh vulnerabilityA flaw was found in libssh. The API function `ssh_get_hexa()` is vulnerable to a denial of service when processing zero-length input. This can be exp…EPSS 0.58%

Source: NIST National Vulnerability Database (record CVE-2025-14821), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.