CVE-2026-56624: CWE-295 Improper Certificate Validation in Apache Software Foundation Apache MINA SSHD
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).
AI Analysis
Technical Summary
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.
CVE-2026-56624: CWE-295 Improper Certificate Validation in Apache Software Foundation 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
Affected software
pkg:maven/Apache Software Foundation/org.apache.sshd:sshd-coreRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.