---
id: CVE-2026-86231
title: A security flaw has been discovered in mwiede jsch up to 2.28.5
summary: >-
  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…
severity: low
cvss: 3.7
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N'
cwe:
  - CWE-298
  - CWE-299
vendor: mwiede
product: jsch
affected:
  - jsch 2.28.0
  - jsch 2.28.1
  - jsch 2.28.2
  - jsch 2.28.3
  - jsch 2.28.4
  - jsch 2.28.5
published: '2026-09-06'
updated: '2026-09-11'
sourceUpdated: '2026-09-11T21:17:38.907'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-86231'
references:
  - url: 'https://github.com/mwiede/jsch/'
    label: cna@vuldb.com
  - url: >-
      https://github.com/mwiede/jsch/commit/194a2f76a5c0f1c3f778565be3fd66bcafc42d23
    label: cna@vuldb.com
  - url: 'https://github.com/mwiede/jsch/issues/1091'
    label: cna@vuldb.com
  - url: 'https://github.com/mwiede/jsch/pull/1098'
    label: cna@vuldb.com
  - url: 'https://github.com/mwiede/jsch/releases/tag/jsch-2.28.6'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/cve/CVE-2026-86231'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/submit/898485'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/vuln/399388'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/vuln/399388/cti'
    label: cna@vuldb.com
tags:
  - nvd
  - cve.org
  - exploit-available
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-11T20:04:55.798482Z'
epss: 0.0042
epssPercentile: 0.3364
ingestedAt: '2026-09-07T12:10:14.547Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
