Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPosition for MITM or operate rogue SSH server
-
DeliveryClient initiates SSH connection
-
ExploitPresent revoked OpenSSH host certificate
-
Executionjsch silently discards @revoked certificate entry during known_hosts parse
-
PersistClient accepts revoked certificate as trusted
-
ImpactAttacker intercepts or proxies SSH session
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V12 - Secure Communication Certificate revocation checking
|
| Exploitation Conditions | Exploitation requires all three of the following: (1) the Java application uses mwiede jsch version ≤2.28.5 as its SSH client library, (2) the known_hosts file used by that application contains |
| Impact | The provided CVSS 4.0 vector (AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N) scores 6.3, reflecting network exposure but high attack complexity and limited integrity-only impact - this calibration appears accurate. Exploitation is constrained to deployments that: (a) run mwiede jsch ≤2.28.5, (b) use SSH host certificate revocation via |
| Exploit ScenarioDerived | An attacker who has obtained or forged a revoked SSH host certificate (one listed as |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 06, 2026
Certificate revocation bypass in mwiede jsch through version 2.28.5 allows unauthenticated remote attackers to have a revoked SSH host certificate accepted as trusted during host verification. The setKnownHosts() parser in KnownHosts.java failed to recognize OpenSSH certificate key types (e.g., ssh-ed25519-cert-v01@openssh.com) as valid when paired with the @revoked marker, causing such entries to be skipped rather than tracked in the revocation pool - silently nullifying the revocation check. A public proof-of-concept is available via GitHub issue #1091, and the fix is released as version 2.28.6.
RemediationAI
Upgrade to mwiede jsch version 2.28.6, which contains the fix in commit 194a2f76a5c0f1c3f778565be3fd66bcafc42d23 (https://github.com/mwiede/jsch/pull/1098). The patched release is confirmed at https://github.com/mwiede/jsch/releases/tag/jsch-2.28.6. For Maven projects, update the dependency version to 2.28.6 in pom.xml. If immediate upgrade is not possible, a compensating control is to replace certificate key type entries in @revoked known_hosts lines with the underlying plain public key type (e.g., use ssh-ed25519 instead of ssh-ed25519-cert-v01@openssh.com), which is handled correctly by the old code; this trade-off requires administrators to extract the raw public key from each certificate and re-add revocation entries manually.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
mwiede jsch is a pure-Java SSH2 client library (maintained fork of the original JSch), consumed widely as a Maven dependency in Java applications performing programmatic SSH, SCP, and SFTP operations. The root cause (CWE-299 - Improper Check for Certificate Revocation) lies in how setKnownHosts() maps key type strings to integer constants via HostKey.name2type(). That function does not recognize OpenSSH certificate key type identifiers (suffixed with -cert-v01@openssh.com), returning UNKNOWN for them. Under the old code, when a @revoked marker combined with a certificate key type produced UNKNOWN, the entry was silently discarded rather than being stored in the revocation pool. The fix introduces addRevokedCertificateHostKey(), which parses the full OpenSSH certificate, extracts the embedded public key, maps it to the correct base type, and adds the revocation entry correctly. Affected CPE: cpe:2.3:a:mwiede:jsch:*:*:*:*:*:*:*:* up to 2.28.5.
Know when Jsch 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
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P
Network-reachable but requires specific known_hosts config and MITM positioning (AC:H); no privileges needed; integrity-only impact as revoked cert is accepted.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A security flaw has been discovered in mwiede jsch up to 2.28.5. Affected is the function getRevokedKeys of the file src/main/java/com/jcraft/jsch/KnownHosts.java. Performing a manipulation of the argument known_hosts results in improper check for certificate revocation. The attack is possible to be carried out remotely. The attack is considered to have high complexity. The exploitability is told to be difficult. The exploit has been released to the public and may be used for attacks. Upgrading to version 2.28.6 is able to address this issue. The patch is named 194a2f76a5c0f1c3f778565be3fd66bcafc42d23. You should upgrade the affected component.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot
Directory traversal vulnerability in JCraft JSch before 0.1.54 on Windows, when the mode is ChannelSftp.OVERWRITE, allow
EUVD-2026-72179
GHSA-x2rp-h5qg-fmqg
NVD
CVE.org
EPSS
VulDB
Exploit-DB