CVE-2025-14821: libssh Uncontrolled Search Path Element
Vulnerability summary
CVE-2025-14821 is a high (CVSS 7.8) Uncontrolled Search Path Element vulnerability in libssh. EPSS estimates a 0.13% chance of exploitation in the next 30 days, higher than 2.3% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 07-04-2026PublishedVulnerability first disclosed.
- 31-08-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · WolfiEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · ChainguardEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST7.0HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
EPSS trend
Probability
0.13%
Chance of exploitation in the next 30 days
Percentile
2%
Versus all other CVEs
30-day change
0.00 pp
From 0.13% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard3 products
- libssh< 0.12.0-r2
- libssh-dev< 0.12.0-r2
- libssh2< 1.11.1-r4
Wolfi3 products
- libssh< 0.12.0-r2
- libssh-dev< 0.12.0-r2
- libssh2< 1.11.1-r4
Libssh1 product
- libssh< 0.12.0
Redhat1 product
4 vendors · 8 products
References
8 links- access.redhat.com/errata/RHSA-2026:7067Vendor AdvisoryX Refsource REDHATAdvisoryThird Party Advisory
- access.redhat.com/security/cve/CVE-2025-14821VDB EntryX Refsource REDHATAdvisoryThird Party Advisory
- bugzilla.redhat.com/show_bug.cgi?id=2423148Issue TrackingX Refsource REDHATREPORTThird Party Advisory