Skip to content
Heist/ feed
Back to feed
High

libmina-sshd-java — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2026-56624

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).

Products
libmina-sshd-java
Affected versions
2.13.2-2, 2.13.2-3
Fixed versions
Not specified
CVEs
CVE-2026-56624
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 09:51 UTC · Revision 2

Source evidence

DEBIAN-CVE-2026-56624

core-osv · Original source

Published 20 Jul 2026, 21:16 UTC

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).

osv:DEBIAN-CVE-2026-56624

libmina-sshd-java

Fixed versions: Not specified

libmina-sshd-java

Fixed versions: Not specified

Complete source record
{
  "id": "2952e845b8296546d7da15347b83d807ba08068f1cdf56f45a3ec7f18736901a",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-56624",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2026-56624",
    "summary": "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).",
    "evidence": "osv:DEBIAN-CVE-2026-56624",
    "products": [
      {
        "name": {
          "value": "libmina-sshd-java",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.13.2-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.13.2-3",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libmina-sshd-java",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.13.2-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.13.2-3",
            "evidence": "/affected/1/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2026-56624",
      "aliases": [
        "DEBIAN-CVE-2026-56624"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libmina-sshd-java",
            "purl": "pkg:deb/debian/libmina-sshd-java?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "versions": [
            "2.13.2-2",
            "2.13.2-3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-56624.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libmina-sshd-java",
            "purl": "pkg:deb/debian/libmina-sshd-java?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "versions": [
            "2.13.2-2",
            "2.13.2-3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-56624.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-25T09:47:29.486111331Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-56624"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2026-56624"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-56624",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 445095,
  "published_at": "2026-07-20T21:16:49.07+00:00"
}