CVE-2025-14821
JSON

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 packageVersionsReported by
libssh-mainNot specified
Not affected: from 0.12.0-1.1.hum1 before *
CVE List
libsshNot specifiedCVE List
libssh2Not specifiedCVE List
openshift/ose-rhel-coreos-8Not specifiedCVE List
openshift/ose-rhel-coreos-9Not specifiedCVE List
libssh libsshbefore 0.12.0NVD
redhat hardened_imagesNot specifiedNVD

All scores

redhat7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD7.0high CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-427

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

Sources

SourceRecordLicence
CVE ListCVE-2025-14821 changed 2026-11-25CVE Terms of Use
NVDCVE-2025-14821 changed 2026-11-25Public domain