GHSA-mw4m-qhpg-j82m

Suggest an improvement
Source
https://github.com/advisories/GHSA-mw4m-qhpg-j82m
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-mw4m-qhpg-j82m/GHSA-mw4m-qhpg-j82m.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-mw4m-qhpg-j82m
Aliases
Published
2026-06-01T09:31:15Z
Modified
2026-07-09T21:26:47Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N CVSS Calculator
Summary
Apache MINA SSHD bundle sshd-git has a path traversal vulnerability
Details

There is a path traversal vulnerability in Apache MINA SSHD bundle sshd-git. Lack of path validation in git-upload-pack, git-receive-pack, and other git operations allows users authenticated over SSH access to git repositories outside the configured git server root directory.

Applications are affected if they use org.apache.sshd:sshd-git. Applications not using sshd-git are not affected.

Users are advised to upgrade affected applications to Apche MINA SSHD 2.18.0, which fixes the issue.

The issue also is present in the pre-release milestones 3.0.0-M1 to 3.0.0-M3 for a new upcoming new major version 3.0.0. Again, applications are affected only if they use sshd-git. Upgrade affected applications to 3.0.0-M4.

Apache MINA SSHD bundle sshd-git would like to point out that a professional git server should not rely solely on file system layout and permissions, but should implement additional security controls to govern access to git repositories and operations allowed on particular git repositories.

Database specific
{
    "cwe_ids":  [
        "CWE-22"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-07-09T21:08:00Z",
    "nvd_published_at":  "2026-06-01T09:16:20Z",
    "severity":  "HIGH"
}
References

Affected packages

Maven / org.apache.sshd:sshd-git

Package

Name
org.apache.sshd:sshd-git
View open source insights on deps.dev
Purl
pkg:maven/org.apache.sshd/sshd-git

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.18.0

Affected versions

0.*
0.12.0
0.13.0
0.14.0
1.*
1.0.0
1.1.0
1.1.1
1.2.0
1.3.0
1.4.0
1.6.0
1.7.0
2.*
2.0.0
2.1.0
2.2.0
2.3.0
2.4.0
2.5.0
2.5.1
2.6.0
2.7.0
2.8.0
2.9.0
2.9.1
2.9.2
2.9.3
2.10.0
2.11.0
2.12.0
2.12.1
2.13.0
2.13.1
2.13.2
2.14.0
2.15.0
2.16.0
2.17.0
2.17.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-mw4m-qhpg-j82m/GHSA-mw4m-qhpg-j82m.json"

Maven / org.apache.sshd:sshd-git

Package

Name
org.apache.sshd:sshd-git
View open source insights on deps.dev
Purl
pkg:maven/org.apache.sshd/sshd-git

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.0.0-M1
Fixed
3.0.0-M4

Affected versions

3.*
3.0.0-M1
3.0.0-M2
3.0.0-M3

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-mw4m-qhpg-j82m/GHSA-mw4m-qhpg-j82m.json"