Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-56624: CWE-295 Improper Certificate Validation in Apache Software Foundation Apache MINA SSHD

0
High
VulnerabilityCVE-2026-56624cvecve-2026-56624cwe-295
Published: 07/20/2026 (07/20/2026, 20:28:26 UTC)
Source: CVE Database V5
Vendor/Project: Apache Software Foundation
Product: Apache MINA SSHD

Description

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-*[email protected] user certificates (which are the only ones for which verify-required would make sense).

CVSS v3.1

Score 7.3high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N

Affected software

Apache Software Foundation/org.apache.sshd:sshd-core
pkg:maven/Apache Software Foundation/org.apache.sshd:sshd-core
Affected versions
>=2.0.0 <=2.18.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/20/2026, 21:11:41 UTC

Technical Analysis

CVE-2026-56624 describes a vulnerability in Apache MINA SSHD where server-side OpenSSH user certificate validation did not verify unsupported options like force-command or verify-required embedded in the certificate. This improper validation could allow a user to authenticate with a certificate containing a force-command option but still execute other commands beyond the forced command. The vulnerability affects versions 2.0.0, 3.0.0-M1, and all versions from 2.0.0 through 2.18.0. The Apache Software Foundation fixed this issue in versions 2.19.0 and 3.0.0-M5 by rejecting certificates that include these unsupported options.

Potential Impact

Successful exploitation allows a user to bypass intended command restrictions imposed by the force-command option in OpenSSH user certificates, potentially executing unauthorized commands on the server. This can lead to unauthorized command execution with the privileges of the authenticated user, impacting confidentiality and integrity. The CVSS v3.1 score is 7.3 (High), reflecting network attack vector, low attack complexity, required privileges, and user interaction, with high confidentiality and integrity impact but no availability impact.

Mitigation Recommendations

Upgrade Apache MINA SSHD to version 2.19.0 or later, or 3.0.0-M5 or later, where the vulnerability is fixed by rejecting OpenSSH user certificates containing unsupported force-command or verify-required options. No other mitigations are specified or recommended by the vendor. Patch status is confirmed fixed in these versions.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
apache
Date Reserved
2026-06-22T15:05:27.038Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a5e8bb12a4a8d5989b8f5b6

Added to database: 07/20/2026, 20:57:21 UTC

Last enriched: 07/20/2026, 21:11:41 UTC

Last updated: 07/21/2026, 03:47:46 UTC

Views: 15

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses