Skip to content
Heist/ feed
Back to feed
High

Apache MINA SSHD: Path traversal in org.apache.sshd:sshd-git on Windows

Type: advisorySources: OSV

Path traversal on Windows in Apache MINA SSHD component sshd-git. Apache MINA SSHD is a Java library for client-side and server-side SSH. A git server implemented with Apache MINA SSHD component sshd-git and running on Windows could allow an authenticated remote user access to git repositories outside of the configured server-side root directory. The path validation applied for CVE-2026-48827 in Apache MINA SSHD 2.18.0 and 3.0.0-M4 was partly ineffective for Servers running on Windows. Applications are affected if they use org.apache.sshd:sshd-git to implement a git server and run on Windows. Applications not using sshd-git or not running on Windows are not affected. Users are advised to upgrade affected applications to Apache MINA SSHD 2.19.0, which fixes the issue. The issue also is present in the pre-release milestones 3.0.0-M1 to 3.0.0-M4 for a new upcoming new major version 3.0.0. Again, applications are affected only if they use sshd-git and run on Windows. Upgrade affected applications to 3.0.0-M5.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-56623
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 02:24 UTC · Revision 1

Source evidence

Apache MINA SSHD: Path traversal in org.apache.sshd:sshd-git on Windows

core-osv · Original source

Published 20 Jul 2026, 20:29 UTC

Path traversal on Windows in Apache MINA SSHD component sshd-git. Apache MINA SSHD is a Java library for client-side and server-side SSH. A git server implemented with Apache MINA SSHD component sshd-git and running on Windows could allow an authenticated remote user access to git repositories outside of the configured server-side root directory. The path validation applied for CVE-2026-48827 in Apache MINA SSHD 2.18.0 and 3.0.0-M4 was partly ineffective for Servers running on Windows. Applications are affected if they use org.apache.sshd:sshd-git to implement a git server and run on Windows. Applications not using sshd-git or not running on Windows are not affected. Users are advised to upgrade affected applications to Apache MINA SSHD 2.19.0, which fixes the issue. The issue also is present in the pre-release milestones 3.0.0-M1 to 3.0.0-M4 for a new upcoming new major version 3.0.0. Again, applications are affected only if they use sshd-git and run on Windows. Upgrade affected applications to 3.0.0-M5.

osv:CVE-2026-56623
Complete source record
{
  "id": "2a7501ecb8abdaccfea4f571bc387a974394b8b4b8bcdc23e05f0889fc45e0fb",
  "url": "https://osv.dev/vulnerability/CVE-2026-56623",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Apache MINA SSHD: Path traversal in org.apache.sshd:sshd-git on Windows",
    "summary": "Path traversal on Windows in Apache MINA SSHD component sshd-git. Apache MINA SSHD is a Java library for client-side and server-side SSH. A git server implemented with Apache MINA SSHD component sshd-git and running on Windows could allow an authenticated remote user access to git repositories outside of the configured server-side root directory. The path validation applied for CVE-2026-48827 in Apache MINA SSHD 2.18.0 and 3.0.0-M4 was partly ineffective for Servers running on Windows. Applications are affected if they use org.apache.sshd:sshd-git to implement a git server and run on Windows. Applications not using sshd-git or not running on Windows are not affected. Users are advised to upgrade affected applications to Apache MINA SSHD 2.19.0, which fixes the issue. The issue also is present in the pre-release milestones 3.0.0-M1 to 3.0.0-M4 for a new upcoming new major version 3.0.0. Again, applications are affected only if they use sshd-git and run on Windows. Upgrade affected applications to 3.0.0-M5.",
    "evidence": "osv:CVE-2026-56623",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-56623",
      "aliases": [
        "CVE-2026-56623"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/apache/mina-sshd",
              "type": "GIT",
              "events": [
                {
                  "introduced": "3d614500b27f2e587a38a59dff1aa56013672a99"
                },
                {
                  "fixed": "e2926a2795fb099fa0ad6e72e788b812dda256c6"
                },
                {
                  "introduced": "73f1d6db67bdf5a91bb73347cb6c022abf3666fa"
                },
                {
                  "last_affected": "9634060f87f629ae23eb09c9a0709cb925e3bb87"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:apache:mina_sshd:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.0.0"
                      },
                      {
                        "fixed": "2.19.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:apache:mina_sshd:3.0.0:m1:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.0.0-m1"
                      },
                      {
                        "last_affected": "3.0.0-m1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:apache:mina_sshd:3.0.0:m2:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.0.0-m2"
                      },
                      {
                        "last_affected": "3.0.0-m2"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:apache:mina_sshd:3.0.0:m3:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.0.0-m3"
                      },
                      {
                        "last_affected": "3.0.0-m3"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:apache:mina_sshd:3.0.0:m4:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.0.0-m4"
                      },
                      {
                        "last_affected": "3.0.0-m4"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.0.0-m1",
            "3.0.0-m2",
            "3.0.0-m3",
            "3.0.0-m4",
            "sshd-3.0.0-M4",
            "sshd-2.18.0",
            "sshd-2.17.1",
            "sshd-2.17.0",
            "sshd-3.0.0-M2",
            "sshd-3.0.0-M1",
            "sshd-2.16.0",
            "sshd-2.15.0",
            "sshd-2.14.0",
            "sshd-2.13.1",
            "sshd-2.13.0",
            "sshd-2.12.1",
            "sshd-2.12.0",
            "sshd-2.11.0",
            "sshd-2.10.0",
            "sshd-2.9.2",
            "sshd-2.9.1",
            "sshd-2.9.0",
            "sshd-2.8.0",
            "sshd-2.7.0",
            "sshd-2.6.0",
            "sshd-2.5.1",
            "sshd-2.5.0",
            "sshd-2.4.0",
            "sshd-2.3.0",
            "sshd-2.2.0",
            "sshd-2.1.0",
            "sshd-2.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-56623.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:32.343527826Z",
      "provider": "osv",
      "references": [
        "https://repo.maven.apache.org/maven2",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/56xxx/CVE-2026-56623.json",
        "https://lists.apache.org/thread/bhw26snzgvk0mtqqp5dcyjvczp4kcqky",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-56623"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-22"
        ],
        "cna_assigner": "apache",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "2.0.0"
                  },
                  {
                    "last_affected": "2.18.0"
                  },
                  {
                    "introduced": "3.0.0-M1"
                  },
                  {
                    "last_affected": "3.0.0-M4"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/56xxx/CVE-2026-56623.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-56623",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 499625,
  "published_at": "2026-07-20T20:29:08.249+00:00"
}