BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2025-14821 in Libssh and 1 more product

High 7.0

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

Affects 2 products from 2 vendors. Facts below cite their sources.

CVSS 3.17.0
EPSS0.2%
EPSS percentile5th
FixSee advisory

Requires local access, high complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Libssh Libssh < 0.12.0
Redhat Hardened Images No version listed by the source

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2025-14821
BreachSpider IDBS-2026-GLOBAL-272878-H
CVSS vectorCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Published2026-04-07
Last modified2026-11-25
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-427: CWE-427

Related attack patterns (CAPEC)

CAPEC-38 Leveraging/Manipulating Configuration File Search Paths via CWE-427

CAPEC-471 Search Order Hijacking via CWE-427

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A vulnerability in libssh allows local man-in-the-middle attacks and security downgrades of SSH connections, impacting the confidentiality, integrity, and availability of SSH communications on Windows systems due to an insecure default configuration.

The vulnerability arises from an insecure default configuration in libssh on Windows systems, which automatically loads configuration files. This can be exploited by a local attacker to perform man-in-the-middle attacks and manipulate trusted host information.

Questions

What is CVE-2025-14821?

A vulnerability in libssh allows local man-in-the-middle attacks and security downgrades of SSH connections, impacting the confidentiality, integrity, and availability of SSH communications on Windows systems due to an insecure default configuration.

What is the CVSS score for CVE-2025-14821?

CVE-2025-14821 has CVSS 7.0 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.2%.

Is CVE-2025-14821 actively exploited?

No confirmed active exploitation of CVE-2025-14821 as of 2026-11-26.

How do I remediate CVE-2025-14821?

Priority: HIGH. Advisory: https://access.redhat.com/errata/RHSA-2026:7067

What systems are affected by CVE-2025-14821?

CVE-2025-14821 affects Libssh Libssh; Redhat Hardened Images.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Libssh","product":"Libssh","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-11-25.