CVE-2026-56624

Source
https://cve.org/CVERecord?id=CVE-2026-56624
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-56624.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-56624
Downstream
Related
Published
2026-07-20T20:28:26.333Z
Modified
2026-07-29T03:30:50.865691244Z
Severity
  • 7.3 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N CVSS Calculator
Summary
Apache MINA SSHD: SSH certificate options lack validations
Details

Improper certificate validation in Apache MINA SSHD (server-side). Apache MINA SSHD is a Java library for client-side and server-side SSH.

Server-side OpenSSH user certificate validation during user authentication in an Apache MINA SSHD server did not check for the unsupported force-command or verify-required options that could be embedded in the certificate, nor did it validate these options. As a result it was possible that a user could authenticate with such a certificate that included a force-command option but still was able to execute other commands. What other command exactly would be available to the user depends on the implementation of the server.

This issue is fixed in Apache MINA SSHD 2.19.0 and 3.0.0-M5. Applications are advised to upgrade to these versions.

The fix rejects OpenSSH user certificates that include these options, since Apache MINA SSHD implements neither force-command nor sk-*-cert-v01@openssh.com user certificates (which are the only ones for which verify-required would make sense).

Database specific
{
    "cna_assigner": "apache",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/56xxx/CVE-2026-56624.json",
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "introduced": "2.0.0"
                },
                {
                    "last_affected": "2.18.0"
                },
                {
                    "introduced": "3.0.0-M1"
                },
                {
                    "last_affected": "3.0.0-M4"
                }
            ],
            "source": "AFFECTED_FIELD"
        }
    ],
    "cwe_ids": [
        "CWE-295"
    ]
}
References

Affected packages

Git / github.com/apache/mina-sshd

Affected ranges

Type
GIT
Repo
https://github.com/apache/mina-sshd
Events
Database specific
{
    "cpe": [
        "cpe:2.3:a:apache:mina_sshd:*:*:*:*:*:*:*:*",
        "cpe:2.3:a:apache:mina_sshd:3.0.0:m1:*:*:*:*:*:*",
        "cpe:2.3:a:apache:mina_sshd:3.0.0:m2:*:*:*:*:*:*",
        "cpe:2.3:a:apache:mina_sshd:3.0.0:m3:*:*:*:*:*:*",
        "cpe:2.3:a:apache:mina_sshd:3.0.0:m4:*:*:*:*:*:*"
    ],
    "extracted_events": [
        {
            "introduced": "2.0.0"
        },
        {
            "fixed": "2.19.0"
        },
        {
            "introduced": "3.0.0-m1"
        },
        {
            "last_affected": "3.0.0-m1"
        },
        {
            "introduced": "3.0.0-m2"
        },
        {
            "last_affected": "3.0.0-m2"
        },
        {
            "introduced": "3.0.0-m3"
        },
        {
            "last_affected": "3.0.0-m3"
        },
        {
            "introduced": "3.0.0-m4"
        },
        {
            "last_affected": "3.0.0-m4"
        }
    ],
    "source": [
        "CPE_RANGE",
        "CPE_STRING"
    ]
}

Affected versions

3.*
3.0.0-m1
3.0.0-m2
3.0.0-m3
3.0.0-m4
sshd-2.*
sshd-2.0.0
sshd-2.1.0
sshd-2.10.0
sshd-2.11.0
sshd-2.12.0
sshd-2.12.1
sshd-2.13.0
sshd-2.13.1
sshd-2.14.0
sshd-2.15.0
sshd-2.16.0
sshd-2.17.0
sshd-2.17.1
sshd-2.18.0
sshd-2.2.0
sshd-2.3.0
sshd-2.4.0
sshd-2.5.0
sshd-2.5.1
sshd-2.6.0
sshd-2.7.0
sshd-2.8.0
sshd-2.9.0
sshd-2.9.1
sshd-2.9.2
sshd-3.*
sshd-3.0.0-M1
sshd-3.0.0-M2
sshd-3.0.0-M4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-56624.json"