CVE-2026-86231
mwiede jsch KnownHosts.java getRevokedKeys improper check for certificate revocation
Check your servers for CVE-2026-86231
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-86231 affects jsch, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Severity (CVSS)
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
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Attack requirements
- none: an attack works without special conditions on the target
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Impact on the vulnerable system
- confidentiality none, integrity low, availability none: what an attacker can read, change or stop in the vulnerable component
- Impact on other systems
- confidentiality none, integrity none, availability none: what an attacker can read, change or stop beyond it
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N/E:P/RL:O/RC:C
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity low, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N/E:P/RL:O/RC:C
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity low, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
AV:N/AC:H/Au:N/C:N/I:P/A:N/E:POC/RL:OF/RC:C
- Attack vector
- network: an attacker can reach the vulnerable part over the network
- Attack complexity
- high
- Authentication
- none: the attacker does not need to log in
- Impact
- confidentiality none, integrity partial, availability none
Exploitation
EPSS 0.27%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 20.9% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 11 Sep 2026):
- Exploitation
- poc: a proof of concept is public
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-298 Improper Validation of Certificate Expiration
- CWE-299 Improper Check for Certificate Revocation
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| jsch |
affected 2.28.0 affected 2.28.1 affected 2.28.2 affected 2.28.3 affected 2.28.4 affected 2.28.5 unaffected 2.28.6
|
Is my server affected?
Find the installed version of jsch and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i jsch
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-86231 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-86231RHEL, Rocky, Alma, Fedora
rpm -q jsch
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-86231Alpine
apk list --installed | grep -i jschWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-86231
trivy image --scanners vuln IMAGE | grep CVE-2026-86231
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- CVE-2026-86231 | CVE Analysis and Report vuldb.com · third party advisory
- Submit #898485 | mwiede jsch 2.28.4 Cert Revocation Type String Bypass vuldb.com · third party advisory
Patches and release notes
- https://github.com/mwiede/jsch/pull/1098 github.com · issue tracking, patch
- https://github.com/mwiede/jsch/commit/194a2f76a5c0f1c3f778565be3fd66bcafc42d23 github.com · patch
- https://github.com/mwiede/jsch/releases/tag/jsch-2.28.6 github.com · patch
Exploits and proof of concept
- https://github.com/mwiede/jsch/issues/1091 github.com · exploit, issue tracking
Other references
- VDB-399388 | mwiede jsch KnownHosts.java getRevokedKeys improper check for certificate revocation vuldb.com · vdb entry, technical description
- VDB-399388 | CTI Indicators (IOB, IOC, TTP, IOA) vuldb.com · signature, permissions required
- https://github.com/mwiede/jsch/ github.com · product
Source: the record CVE-2026-86231 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse