CVE-2026-56623: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Apache Software Foundation Apache MINA SSHD
CVE-2026-56623 is a path traversal vulnerability affecting Apache MINA SSHD's sshd-git component on Windows systems. This flaw allows an authenticated remote user to access git repositories outside the configured server-side root directory due to ineffective path validation on Windows. The issue affects applications using sshd-git on Windows and was fixed in Apache MINA SSHD version 2.19.0 and 3.0.0-M5. Versions 2.0.0 and pre-release 3.0.0-M1 to 3.0.0-M4 are vulnerable.
AI Analysis
Technical Summary
Apache MINA SSHD is a Java library for SSH client and server implementations. The sshd-git component used to implement git servers on Windows platforms suffers from a path traversal vulnerability (CWE-22) that allows authenticated remote users to bypass the configured root directory restrictions and access git repositories outside the intended directory. This vulnerability stems from incomplete path validation that was previously addressed in CVE-2026-48827 but remained ineffective on Windows. The vulnerability affects versions 2.0.0 and pre-release milestones 3.0.0-M1 through 3.0.0-M4. The issue is resolved in versions 2.19.0 and 3.0.0-M5.
Potential Impact
An authenticated remote attacker on a Windows system running a git server implemented with Apache MINA SSHD sshd-git can access git repositories outside the configured root directory. This unauthorized access can lead to exposure of sensitive source code or repository data. The vulnerability has a CVSS 3.1 score of 7.1, indicating high severity with high confidentiality impact, low integrity impact, and no availability impact.
Mitigation Recommendations
Users should upgrade affected applications using Apache MINA SSHD sshd-git on Windows to version 2.19.0 or later, or to 3.0.0-M5 or later for the upcoming major release. This upgrade addresses the path traversal vulnerability by improving path validation on Windows. No other mitigations are indicated by the vendor advisory.
CVE-2026-56623: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Apache Software Foundation Apache MINA SSHD
Description
CVE-2026-56623 is a path traversal vulnerability affecting Apache MINA SSHD's sshd-git component on Windows systems. This flaw allows an authenticated remote user to access git repositories outside the configured server-side root directory due to ineffective path validation on Windows. The issue affects applications using sshd-git on Windows and was fixed in Apache MINA SSHD version 2.19.0 and 3.0.0-M5. Versions 2.0.0 and pre-release 3.0.0-M1 to 3.0.0-M4 are vulnerable.
CVSS v3.1
Score 7.1high
Affected software
pkg:maven/Apache Software Foundation/org.apache.sshd:sshd-gitRun 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
Apache MINA SSHD is a Java library for SSH client and server implementations. The sshd-git component used to implement git servers on Windows platforms suffers from a path traversal vulnerability (CWE-22) that allows authenticated remote users to bypass the configured root directory restrictions and access git repositories outside the intended directory. This vulnerability stems from incomplete path validation that was previously addressed in CVE-2026-48827 but remained ineffective on Windows. The vulnerability affects versions 2.0.0 and pre-release milestones 3.0.0-M1 through 3.0.0-M4. The issue is resolved in versions 2.19.0 and 3.0.0-M5.
Potential Impact
An authenticated remote attacker on a Windows system running a git server implemented with Apache MINA SSHD sshd-git can access git repositories outside the configured root directory. This unauthorized access can lead to exposure of sensitive source code or repository data. The vulnerability has a CVSS 3.1 score of 7.1, indicating high severity with high confidentiality impact, low integrity impact, and no availability impact.
Mitigation Recommendations
Users should upgrade affected applications using Apache MINA SSHD sshd-git on Windows to version 2.19.0 or later, or to 3.0.0-M5 or later for the upcoming major release. This upgrade addresses the path traversal vulnerability by improving path validation on Windows. No other mitigations are indicated by the vendor advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- apache
- Date Reserved
- 2026-06-22T14:49:48.620Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a5e8bb12a4a8d5989b8f5b3
Added to database: 07/20/2026, 20:57:21 UTC
Last enriched: 07/30/2026, 12:07:59 UTC
Last updated: 09/03/2026, 04:32:47 UTC
Views: 90
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.
External Links
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.