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

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-04-07 · Modified: 2026-11-25
- Aliases: CGA-38r6-5rvw-4273, CGA-62m5-xqcw-876w, CGA-ghm8-94wh-w4wr, CGA-jvhp-4j34-6558, CGA-mh97-f32p-22jp
- Record: https://cvemate.com/vulnerability/CVE-2025-14821 · JSON: https://cvemate.com/vulnerability/CVE-2025-14821/json

## Description

```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.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.186%, percentile 8.571%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard libssh (Chainguard): \< 0.12.0-r2
- chainguard libssh-dev (Chainguard): \< 0.12.0-r2
- chainguard libssh2 (Chainguard): \< 1.11.1-r4
- wolfi libssh (Wolfi): \< 0.12.0-r2
- wolfi libssh-dev (Wolfi): \< 0.12.0-r2
- wolfi libssh2 (Wolfi): \< 1.11.1-r4
- libssh libssh: \< 0.12.0
- redhat hardened\_images: na

## References

- <https://access.redhat.com/errata/RHSA-2026:7067>
- <https://access.redhat.com/security/cve/CVE-2025-14821>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2423148>
- <https://www.libssh.org/2026/02/10/libssh-0-12-0-and-0-11-4-security-releases/>
- <https://access.redhat.com/downloads/content/package-browser/>
- <https://catalog.redhat.com/software/containers/>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/14xxx/CVE-2025-14821.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-14821>

---

Data as of 2026-12-05T08:48:38.252Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
