CVE-2026-86231

Source
https://cve.org/CVERecord?id=CVE-2026-86231
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-86231.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-86231
Published
2026-09-06T22:45:12Z
Modified
2026-09-08T08:17:41Z
Severity
  • 2.9 (Low) CVSS_V4 - 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 CVSS Calculator
Summary
mwiede jsch KnownHosts.java getRevokedKeys improper check for certificate revocation
Details

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.

Database specific
{
    "cna_assigner": "VulDB",
    "cwe_ids": [
        "CWE-298",
        "CWE-299"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/86xxx/CVE-2026-86231.json",
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "introduced": "2.28.2"
                },
                {
                    "last_affected": "2.28.2"
                }
            ],
            "source": "AFFECTED_FIELD"
        }
    ]
}
References

Affected packages

Git / github.com/mwiede/jsch

Affected ranges

Type
GIT
Repo
https://github.com/mwiede/jsch
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "2.28.0"
        },
        {
            "last_affected": "2.28.0"
        },
        {
            "introduced": "2.28.1"
        },
        {
            "last_affected": "2.28.1"
        },
        {
            "introduced": "2.28.3"
        },
        {
            "last_affected": "2.28.3"
        },
        {
            "introduced": "2.28.4"
        },
        {
            "last_affected": "2.28.4"
        },
        {
            "introduced": "2.28.5"
        },
        {
            "last_affected": "2.28.5"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ]
}

Affected versions

2.*
2.28.0
2.28.1
2.28.3
2.28.4
2.28.5
jsch-2.*
jsch-2.28.0
jsch-2.28.4
jsch-2.28.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-86231.json"
vanir_signatures
[
    {
        "deprecated": false,
        "digest": {
            "function_hash": "38731051551759828773941396701868240187",
            "length": 3385
        },
        "id": "CVE-2026-86231-5f3df0bb",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/mwiede/jsch/commit/194a2f76a5c0f1c3f778565be3fd66bcafc42d23",
        "target": {
            "file": "src/main/java/com/jcraft/jsch/KnownHosts.java",
            "function": "setKnownHosts"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "54029059150350345034029935217882410481",
                "13835066085747317525008478192569276765",
                "148390958017277293524719909133357290832"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-86231-7dc7399a",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/mwiede/jsch/commit/194a2f76a5c0f1c3f778565be3fd66bcafc42d23",
        "target": {
            "file": "src/test/java/com/jcraft/jsch/KnownHostsTest.java"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "311163688758581108832802877884024585812",
                "303088570275185997669672486957010036163",
                "40614450352651861208820524743970877699",
                "294393293845387348952032565616885145533",
                "250542304835125213541975898754829179989",
                "115015454760346637846632481397345954007",
                "219919018011020221395219558529082958536",
                "110117448956844596657688128555439223949",
                "161570354061853477767158830962401142208",
                "238111375066346482421485324475325602531",
                "177423193955476662556152850899830850703",
                "58287612698501268218033171159435095973",
                "328725594237749473630929510475603860609"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-86231-90aa0366",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/mwiede/jsch/commit/194a2f76a5c0f1c3f778565be3fd66bcafc42d23",
        "target": {
            "file": "src/test/java/com/jcraft/jsch/OpenSshCertificateHostKeyVerifierTest.java"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "207217000148167714962900829455295421566",
                "121251174728795406482164381882350558909",
                "206736409357084075543933128789616438441",
                "169896746471638661786163452451917462129",
                "338514068429852368439548838736647918511",
                "34311972660981667796551334460554064428",
                "117236696854054950691245721506481266630",
                "286242469918713482611285336981896285567",
                "335253578429550624961839413208510517007",
                "316334169975793785463484785194275197614",
                "210683439772386247547231564598058134098",
                "207932493873871901439800946617497702524",
                "138719342128258907425553148467942810607",
                "280014729051872423899429254548898801367",
                "307804697124831364768311598615724495429",
                "168599452164834610992447534291329008127",
                "79627847955521213799212522677659942949",
                "211919827236612258014591637219657159510",
                "115646495379644763303653773414543044303",
                "196756510423264844290879543548598902439",
                "240005017883455789089418310847476598653"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-86231-ec576917",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/mwiede/jsch/commit/194a2f76a5c0f1c3f778565be3fd66bcafc42d23",
        "target": {
            "file": "src/main/java/com/jcraft/jsch/KnownHosts.java"
        }
    }
]
vanir_signatures_modified
"2026-09-08T08:17:41Z"