CVE-2026-86231mwiede jsch KnownHosts.java getRevokedKeys improper check for certificate revocation
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.
What to do
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | jsch | Fix pending | UBUNTU-CVE-2026-86231 | |
| Ubuntu 26.04 | jsch | Under investigation | UBUNTU-CVE-2026-86231 | |
| Ubuntu 24.04 | jsch | Under investigation | UBUNTU-CVE-2026-86231 | |
| Ubuntu 22.04 | jsch | Under investigation | UBUNTU-CVE-2026-86231 | |
| Ubuntu 20.04 | jsch | Fix pending | UBUNTU-CVE-2026-86231 | |
| Ubuntu 18.04 | jsch | Fix pending | UBUNTU-CVE-2026-86231 | |
| Ubuntu 16.04 | jsch | Fix pending | UBUNTU-CVE-2026-86231 | |
| Ubuntu 14.04 | jsch | Fix pending | UBUNTU-CVE-2026-86231 | |
| Debian 14 | jsch | Fix pending | DEBIAN-CVE-2026-86231 | |
| Debian 13 | jsch | Fix pending | DEBIAN-CVE-2026-86231 | |
| Debian 12 | jsch | Fix pending | DEBIAN-CVE-2026-86231 |
What the vendor says
As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- mwiede jsch: affected: 2.28.0, 2.28.1, 2.28.2, 2.28.3, 2.28.4, 2.28.5
Vendor advisories:
- https://github.com/mwiede/jsch/pull/1098 (patch)
- https://github.com/mwiede/jsch/commit/194a2f76a5c0f1c3f778565be3fd66bcafc42d23 (patch)
- https://github.com/mwiede/jsch/releases/tag/jsch-2.28.6 (patch)
References
- https://vuldb.com/vuln/399388
- https://vuldb.com/vuln/399388/cti
- https://vuldb.com/cve/CVE-2026-86231
- https://vuldb.com/submit/898485
- https://github.com/mwiede/jsch/issues/1091
- https://github.com/mwiede/jsch/pull/1098
- https://github.com/mwiede/jsch/commit/194a2f76a5c0f1c3f778565be3fd66bcafc42d23
- https://github.com/mwiede/jsch/releases/tag/jsch-2.28.6
- https://github.com/mwiede/jsch/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.