cve.bz

CVE-2026-48827 apache mina sshd: Path traversal

7.1 highEPSS 0.5%Fix available

High (7.1) in apache mina sshd. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.sshd:sshd-git 2.18.0, 3.0.0-M4.

On this page
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. We 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.

Severity

CVSS 3.1

7.1 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
EPSS
0.5% (unchanged from 0.5% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 46th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-06-01. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-48827 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-48827?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-48827?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-48827 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache MINA SSHDfrom 2.0.0 through 2.17.1
Apache Software Foundation Apache MINA SSHDfrom 3.0.0-M1 through 3.0.0-M3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-mw4m-qhpg-j82mMavenorg.apache.sshd:sshd-git<2.18.02.18.0
GHSA-mw4m-qhpg-j82mMavenorg.apache.sshd:sshd-git>=3.0.0-M1 <3.0.0-M43.0.0-M4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13libmina-sshd-javano fix listedDEBIAN-CVE-2026-48827
Debian14libmina-sshd-java2.19.0-1DEBIAN-CVE-2026-48827
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTSmina, mina2no fix listedUBUNTU-CVE-2026-48827
Ubuntu22.04:LTS, 24.04:LTSminano fix listedUBUNTU-CVE-2026-48827
Ubuntu25.10, 26.10, Pro:22.04:LTS and 2 moremina2no fix listedUBUNTU-CVE-2026-48827
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 moreapache-sshd2.18.0-150200.5.11.1SUSE-SU-2026:2472-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 morejpgpj1.3-150200.5.3.1SUSE-SU-2026:2472-1
openSUSETumbleweedapache-sshd2.18.0-1.1openSUSE-SU-2026:10919-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

To mitigate this issue, ensure the Git server environment is configured with strict access controls and isolation. Restrict operating system user accounts used for SSH Git access to their intended repository roots, potentially using chroot jails or similar mechanisms. Implement additional authorization layers to govern access to Git repositories and operations, preventing authenticated users from traversing outside the designated server root directory. Review and harden file system permissions to limit access to sensitive directories.

ProductPackageStateAdvisory
Red Hat Data Grid 8sshd-gitFix deferred
Red Hat JBoss Enterprise Application Platform Expansion Packsshd-gitFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-48827.

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON