Skip to content
Heist/ feed
Back to feed
High

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

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-14821
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 23:41 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 7 Apr 2026, 16:34 UTC

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.

osv:CVE-2025-14821
Complete source record
{
  "id": "a95a3c58dad73406082b56d3f876be3fb5fa7b509a9b0758da0e8d6ae9172483",
  "url": "https://osv.dev/vulnerability/CVE-2025-14821",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "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.",
    "evidence": "osv:CVE-2025-14821",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2025-14821",
      "aliases": [
        "CVE-2025-14821"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://gitlab.com/libssh/libssh-mirror",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "50313883f3a077458cde4ea95bf46bfeb0771b34"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.12.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "libssh-0.11.0",
            "libssh-0.8.0",
            "release-0-3-0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-14821.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:32.218643171Z",
      "provider": "osv",
      "references": [
        "https://access.redhat.com/downloads/content/package-browser/",
        "https://catalog.redhat.com/software/containers/",
        "https://www.libssh.org/2026/02/10/libssh-0-12-0-and-0-11-4-security-releases/",
        "https://access.redhat.com/errata/RHSA-2026:7067",
        "https://access.redhat.com/security/cve/CVE-2025-14821",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/14xxx/CVE-2025-14821.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-14821",
        "https://bugzilla.redhat.com/show_bug.cgi?id=2423148"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-427"
        ],
        "cna_assigner": "redhat",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "0.12.0-1.1.hum1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "InverseAffectedRanges"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/14xxx/CVE-2025-14821.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-14821",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 499274,
  "published_at": "2026-04-07T16:34:10.718+00:00"
}