7.8high
Libssh: libssh: insecure default configuration leads to local man-in-the-middle attacks on windows
- Severity
- 7.8high CVSS:3.1 by redhat
- Exploit likelihood
- 0.17% (higher than 7% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
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
| Product or package | Versions | Reported by |
|---|---|---|
| libssh-main | Not specified Not affected: from 0.12.0-1.1.hum1 before * | CVE List |
| libssh | Not specified | CVE List |
| libssh2 | Not specified | CVE List |
| openshift/ose-rhel-coreos-8 | Not specified | CVE List |
| openshift/ose-rhel-coreos-9 | Not specified | CVE List |
| libssh libssh | before 0.12.0 | NVD |
| redhat hardened_images | Not specified | NVD |
All scores
| redhat | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.0high CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
Se encontró una falla en libssh. Esta vulnerabilidad permite ataques locales de man-in-the-middle, degradaciones de seguridad de las conexiones SSH (Secure Shell) y manipulación de la información de hosts confiables, lo que representa un riesgo significativo para la confidencialidad, integridad y disponibilidad de las comunicaciones SSH a través de una configuración predeterminada insegura en sistemas Windows donde la biblioteca carga automáticamente archivos de configuración del directorio C:\etc, el cual puede ser creado y modificado por usuarios locales sin privilegios.
References
| https://access.redhat.com/errata/RHSA-2026:7067 | third-party-advisory, vendor-advisory | |
| https://access.redhat.com/security/cve/CVE-2025-14821 | third-party-advisory, vdb-entry | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2423148 | issue-tracking, third-party-advisory | |
| https://www.libssh.org/2026/02/10/libssh-0-12-0-and-0-11-4-security-releases/ | release-notes | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-14821 changed 2026-11-25 | CVE Terms of Use |
| NVD | CVE-2025-14821 changed 2026-11-25 | Public domain |