# CVE-2025-14821: Libssh: libssh: insecure default configuration leads to local man-in-the-middle attacks on windows

- Severity: High 7.8 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-04-07T16:34:10.718Z
- Modified: 2026-11-25T15:17:36.310Z
- Weaknesses: CWE-427
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- libssh-main: no versions given (not affected: from 0.12.0-1.1.hum1 before *)
- libssh: no versions given
- libssh2: no versions given
- openshift/ose-rhel-coreos-8: no versions given
- openshift/ose-rhel-coreos-9: no versions given
- libssh libssh: before 0.12.0
- redhat hardened_images: no versions given

## Every score

- redhat: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`

## 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

- CVE List: [CVE-2025-14821](https://www.cve.org/CVERecord?id=CVE-2025-14821), CVE Terms of Use, modified 2026-11-25
- NVD: [CVE-2025-14821](https://nvd.nist.gov/vuln/detail/CVE-2025-14821), Public domain, modified 2026-11-25

---

Page: https://cve.day/CVE-2025-14821 · Whole record: https://cve.day/CVE-2025-14821.json · Rebuilt by cve.day 2026-11-25T23:17:30.039Z
