{"id":"CVE-2025-14821","aliases":["CVE-2025-14821"],"related":[],"kind":"vulnerability","state":"published","title":"Libssh: libssh: insecure default configuration leads to local man-in-the-middle attacks on windows","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-04-07T16:34:10.718Z","modified":"2026-11-25T15:17:36.310Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"}],"cwes":["CWE-427"],"affected":[{"ranges":[{"type":"rpm","introduced":"0.12.0-1.1.hum1","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Hardened Images","package":"libssh-main","cpe":"cpe:/a:redhat:hummingbird:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","package":"libssh","cpe":"cpe:/o:redhat:enterprise_linux:10","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","package":"libssh2","cpe":"cpe:/o:redhat:rhel_els:6","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","package":"libssh2","cpe":"cpe:/o:redhat:rhel_els:7","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"libssh","cpe":"cpe:/o:redhat:enterprise_linux:8","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"libssh","cpe":"cpe:/o:redhat:enterprise_linux:9","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","package":"openshift/ose-rhel-coreos-8","cpe":"cpe:/a:redhat:openshift:4","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","package":"openshift/ose-rhel-coreos-9","cpe":"cpe:/a:redhat:openshift:4","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"0.12.0"}],"vendor":"libssh","product":"libssh","cpe":"cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"redhat","product":"hardened_images","cpe":"cpe:2.3:a:redhat:hardened_images:-:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2026:7067","tags":["third-party-advisory","vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2025-14821","tags":["third-party-advisory","vdb-entry","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2423148","tags":["issue-tracking","third-party-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://www.libssh.org/2026/02/10/libssh-0-12-0-and-0-11-4-security-releases/","tags":["release-notes"],"sources":["cvelist","nvd"]}],"credits":["Red Hat would like to thank Martin Grubhofer for reporting this issue."],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-04-07T00:00:00.000Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-14821","url":"https://www.cve.org/CVERecord?id=CVE-2025-14821","licence":"CVE Terms of Use","modified":"2026-11-25T14:16:07.809Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-14821","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-14821","licence":"Public domain","modified":"2026-11-25T15:17:36.310Z"}],"updatedAt":"2026-11-25T23:17:30.039Z","epss":{"score":0.00174,"percentile":0.07164,"date":"2026-12-01T12:00:22.000Z"}}