Skip to main content
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain unprivileged local access on Windows host
  2. Delivery
    Create attacker-writable C:\etc directory
  3. Exploit
    Plant malicious libssh configuration file
  4. Execution
    Victim process loads config via libssh
  5. Persist
    Force SSH downgrade and host-trust manipulation
  6. Impact
    Intercept or alter SSH session as local MITM

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V13 - Configuration Search path element control
Exploitation Conditions

Exploitation requires a local, low-privileged account on a Windows system running software that uses libssh, because libssh's insecure default automatically loads configuration from C:\etc, a path writable by standard users on default Windows installs. The concrete prerequisite is the ability to create or modify files under C:\etc plus a subsequent libssh-based SSH connection (by another user or service) that consumes the planted configuration. Limiting factors: it is Windows-specific (does not apply to the Linux/RHEL/OpenShift platforms in the CPE list, where C:\etc is irrelevant), needs prior local access (AV:L, PR:L), has high attack complexity (AC:H) due to the dependency on another process actually using the malicious config and on C:\etc being attacker-writable, and is moot if C:\etc is already created with restrictive ACLs.

Impact

Signals are broadly consistent toward LOW operational urgency despite a 7.0 (High) CVSS. The CVSS 3.1 vector (AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H) requires local access, low privileges, and high attack complexity, while EPSS is 0.01% (1st percentile) and CISA's SSVC rates Exploitation as none and Automatable as no, though Technical Impact is total, matching the C:H/I:H/A:H impact. There is no KEV listing and no public exploit identified. The most important caveat is a scope/applicability mismatch: the description and CWE-427 root cause are explicitly Windows-only (C:\etc), yet every CPE and tag references Red Hat Linux products and OpenShift, where C:\etc does not exist, so the real-world exploitable population is far narrower than the CPE list implies and Linux RHEL deployments are likely affected only insofar as they ship the patched libssh package. Verify with the vendor which platforms are genuinely exploitable before prioritizing. Overall this is a high-CVSS but low-real-world-risk issue: meaningful only on Windows hosts where libssh-based software runs and an attacker already has a local foothold.

Exploit ScenarioDerived

An unprivileged user on a shared Windows workstation creates C:\etc and writes a malicious libssh configuration that disables strict host-key checking and forces weak algorithms. When another user or a service later runs a libssh-based SSH client, the planted config takes effect, letting the attacker silently downgrade and intercept the SSH session as a local man-in-the-middle. No public exploit is identified, and the high attack complexity reflects the need to win this configuration-and-timing race against another libssh-using process.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv4 – Jun 25, 2026

Local man-in-the-middle and SSH security downgrade in libssh on Windows stems from the library automatically loading configuration files from C:\etc, a directory that any unprivileged local user can create and populate. By planting a malicious config, an attacker can manipulate trusted host data and weaken SSH cryptographic negotiation, compromising the confidentiality, integrity, and availability of SSH sessions established by applications linking libssh. There is no public exploit identified at time of analysis, EPSS is negligible (0.01%), and it is not in CISA KEV.

Earlier versions of this analysis (3)
v3 Jun 25, 2026 - 07:28 cvss changed CVSS 7.0

Insecure default configuration loading in libssh on Windows lets an unprivileged local user plant or alter SSH configuration files in the world-writable C:\etc directory, enabling local man-in-the-middle attacks, SSH security/algorithm downgrades, and tampering with trusted host (known_hosts) data. Any application linking libssh on Windows that reads system configuration from this path inherits attacker-controlled settings, undermining the confidentiality, integrity, and availability of affected SSH sessions. EPSS is negligible (0.01%) and there is no public exploit identified at time of analysis, but SSVC rates technical impact as total.

v2 Apr 25, 2026 - 00:27 cvss changed CVSS 7.8

Local privilege escalation in libssh on Windows systems allows low-privileged users to perform man-in-the-middle attacks against SSH connections by creating malicious configuration files in the world-writable C:\etc directory. The library's insecure default behavior automatically loads these attacker-controlled configs, enabling security downgrades, trusted host manipulation, and potential complete compromise of SSH session confidentiality and integrity (CVSS 7.8). Vendor patches available from Red Hat and libssh.org (versions 0.12.0 and 0.11.4). EPSS score of 0.01% and SSVC assessment indicate low immediate exploitation probability despite high technical impact, with no public exploits or active exploitation confirmed at time of analysis.

v1 Apr 07, 2026 - 17:00 CVSS 7.8

Local privilege escalation in libssh on Windows systems allows authenticated users with low privileges to conduct man-in-the-middle attacks against SSH connections by creating malicious configuration files in C:\etc. The vulnerability stems from insecure default behavior where libssh automatically loads SSH configuration from a world-writable directory location. Red Hat Enterprise Linux 6-10, RHEL Hardened Images, and OpenShift Container Platform 4 are affected. No public exploit identified at time of analysis, though EPSS data is not available and exploitation complexity is low (CVSS AC:L).

RemediationAI

Upgrade libssh to a fixed release: Vendor-released patch: libssh 0.12.0 or 0.11.4 (https://www.libssh.org/2026/02/10/libssh-0-12-0-and-0-11-4-security-releases/); Red Hat users should apply the distribution update via RHSA-2026:7067 (https://access.redhat.com/errata/RHSA-2026:7067) and consult https://access.redhat.com/security/cve/CVE-2025-14821. On Windows hosts that cannot be patched immediately, the targeted compensating control is to remove the search-path exposure: create C:\etc yourself and lock its ACLs so only Administrators and SYSTEM can write, preventing unprivileged users from planting a config, or otherwise restrict standard-user write access to the drive root; the trade-off is that legitimate per-system libssh configuration placed there must then be managed by an administrator. Where feasible, run libssh-based applications under accounts and on hosts where untrusted local users do not have interactive access, since exploitation requires a local foothold. Validate which platforms in your fleet actually load from C:\etc before relying on workarounds.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

libssh is a multiplatform C library implementing the SSHv2 protocol used by numerous applications to act as SSH clients or servers. The root cause maps to CWE-427 (Uncontrolled Search Path Element): on Windows the library resolves and loads its system configuration from a fixed absolute path, C:\etc, instead of a location protected by administrative ACLs. On Windows the root of a drive is writable by standard users by default, so an unprivileged account can create C:\etc and drop a libssh config that the library will trust. Because that config can redefine known-hosts handling and the offered key-exchange, cipher, and MAC algorithms, it lets an attacker force algorithm downgrades and tamper with host-trust decisions for any process that subsequently uses libssh. Note the supplied CPEs enumerate Red Hat Enterprise Linux 6-10, OpenShift Container Platform 4, and Red Hat Hardened Images rather than Windows builds, reflecting that the affected component (the libssh package) is tracked through Red Hat's catalog even though the insecure default path is Windows-specific.

Know when Red Hat Enterprise Linux 10 gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Sources disagree (Low–High)
NVD PRIMARY 7.0 HIGH
AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.0 HIGH

Local unprivileged user writes C:\etc (AV:L/PR:L); success depends on another process consuming the planted config (AC:H); full SSH session compromise yields C:H/I:H/A:H.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Red Hat 7.8 LOW

vuln.today treats the vendor’s rating as authoritative. A higher third-party CVSS (e.g. CISA-ADP) is shown for transparency but does not drive the headline severity.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

5
Analysis Updated
Jun 25, 2026 - 07:29 vuln.today
v4 - CVSS changed
Analysis Updated
Jun 25, 2026 - 07:28 vuln.today
v3 - CVSS changed
CVSS changed
Jun 25, 2026 - 07:22 NVD
7.8 (HIGH) 7.0 (HIGH)
Analysis Updated
Apr 25, 2026 - 00:27 vuln.today
v2 - CVSS changed
CVE Published
Apr 07, 2026 - 16:34 nvd
HIGH 7.8

DescriptionNVD

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.

Executive ViewAI

Why It Matters

libssh on Windows contains a local vulnerability (CVE-2025-14821) enabling unprivileged users to compromise SSH session security through malicious configuration file placement, potentially enabling interception of sensitive communications. No public exploit has been identified at time of analysis, but organizations should prioritize patching to protect SSH infrastructure integrity.

Business Impact: Medium
Compensating Controls

Patch available per vendor advisory.

Threat Intelligence Overview

EPSS Score
0.0%
Top 99% exploitable
Prevalence
High
widely used cross-platform SSH library embedded in many applications
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
Medium
Technical Impact
Total

Priority Score

35
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +35
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Affected Products (CPE)NVD

cpe:2.3:a:red_hat:red_hat_enterprise_linux_10:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_6:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_7:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_8:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_enterprise_linux_9:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_hardened_images_1:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_openshift_container_platform_4:*:*:*:*:*:*:*:*
CVE-2026-18663 MEDIUM
5.9 Aug 12

Heap corruption via double-free in 389-ds-base's LDAP control parsing allows an unauthenticated remote attacker to crash

CVE-2026-4631 CRITICAL POC
9.8 Apr 07

Remote code execution in Cockpit's web interface allows unauthenticated attackers to execute arbitrary commands on the h

CVE-2026-4480 CRITICAL POC
9.0 May 26

Remote code execution in Samba's printing subsystem allows remote attackers to inject arbitrary shell commands via craft

CVE-2026-101258 HIGH POC
7.8 Oct 06

Ghostscript can execute arbitrary shell commands with the privileges of its process when it renders a crafted PostScript

CVE-2026-96889 HIGH POC
7.8 Sep 23

Use-after-free in librsvg during rendering of crafted SVG documents with nested XInclude directives and duplicate entity

CVE-2026-4775 HIGH POC
7.8 Mar 24

A signed integer overflow vulnerability exists in the libtiff library's putcontig8bitYCbCr44tile function that leads to

CVE-2026-114406 MEDIUM POC
6.8 Oct 21

The system CA trust store shipped in Red Hat's ca-certificates RPM packages includes eMudhra root authorities that signe

CVE-2026-18922 CRITICAL
9.8 Sep 07

Authentication bypass in 389 Directory Server (shipped as Red Hat Directory Server 11-13 and within RHEL 6-10) lets remo

CVE-2026-14544 CRITICAL
9.8 Jul 03

Remote code execution and privilege escalation in HPLIP (HP Linux Imaging and Printing) affects the hpcups print filter

CVE-2026-76578 CRITICAL
9.8 Sep 07

Unauthenticated privilege escalation in FreeIPA (Red Hat Identity Management) allows a remote attacker to gain genuine a

CVE-2026-102560 CRITICAL
9.8 Sep 29

A heap buffer overflow exists in libsoup's WebSocket permessage-deflate compression path: when a very large outbound mes

CVE-2026-5121 HIGH
7.5 Mar 30

Remote code execution in libarchive on 32-bit systems allows unauthenticated attackers to execute arbitrary code via spe

Vendor StatusVendor

SUSE

Severity: High
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed
SUSE Linux Enterprise Micro 5.2 Fixed
SUSE Linux Enterprise Micro 5.3 Fixed
SUSE Linux Enterprise Micro 5.4 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy