CVE-2025-14821
libssh: libssh: Insecure default configuration leads to local man-in-the-middle attacks on Windows
Overview
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.
Source: OX vulnerability database
Severity
7 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- High
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-427
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Julia | libssh_jll | <0.12.1+0 | 0.12.1+0 |
Open a package to see all its vulnerabilities.
Operating systems · 8 fixes
chainguard 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| libssh | 0.12.0-r2 | |
| libssh2 | 1.11.1-r4 |
minimos 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| libssh | 0.12.0-r0 |
wolfi 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| libssh | 0.12.0-r2 | |
| libssh2 | 1.11.1-r4 |
alpine 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.23 | libssh | not affected |
| 3.24 | libssh | not affected |
| edge | libssh | not affected |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:7067
- access.redhat.com https://access.redhat.com/security/cve/CVE-2025-14821
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2423148
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2025-14821
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2025-14821
- www.libssh.org https://www.libssh.org/2026/02/10/libssh-0-12-0-and-0-11-4-security-releases/
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.